Skip to content

Commit

Permalink
[libSyntax] Verify the syntax tree generated by compiling the stdlib
Browse files Browse the repository at this point in the history
  • Loading branch information
ahoppen committed May 1, 2018
1 parent 1c5f9da commit 9cb383e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions stdlib/public/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,8 @@ if(SWIFT_RUNTIME_USE_SANITIZERS)
endif()
endif()

list(APPEND SWIFT_RUNTIME_SWIFT_COMPILE_FLAGS "-Xfrontend" "-verify-syntax-tree")

# Build the runtime with -Wall to catch, e.g., uninitialized variables
# warnings.
list(APPEND SWIFT_RUNTIME_CXX_FLAGS "-Wall")
Expand Down

0 comments on commit 9cb383e

Please sign in to comment.