File tree Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Expand file tree Collapse file tree 3 files changed +4
-6
lines changed Original file line number Diff line number Diff line change @@ -895,11 +895,13 @@ elseif(BOOTSTRAPPING_MODE STREQUAL "HOSTTOOLS" OR SWIFT_BUILD_SWIFT_SYNTAX)
895
895
endif ()
896
896
897
897
if (SWIFT_INCLUDE_TOOLS AND SWIFT_BUILD_SWIFT_SYNTAX )
898
- # Only "HOSTTOOLS" is supported in Linux when Swift parser integration is enabled.
899
- if (SWIFT_HOST_VARIANT_SDK MATCHES "LINUX|OPENBSD|FREEBSD" AND NOT BOOTSTRAPPING_MODE STREQUAL "HOSTTOOLS" )
898
+ # HOSTTOOLS is the only supported configuration when Swift parser integration
899
+ # is enabled.
900
+ if (NOT BOOTSTRAPPING_MODE STREQUAL "OFF" AND NOT BOOTSTRAPPING_MODE STREQUAL "HOSTTOOLS" )
900
901
message (WARNING "Force setting BOOTSTRAPPING=HOSTTOOLS because Swift parser integration is enabled" )
901
902
set (BOOTSTRAPPING_MODE "HOSTTOOLS" )
902
903
endif ()
904
+
903
905
add_definitions (-DSWIFT_BUILD_SWIFT_SYNTAX )
904
906
endif ()
905
907
Original file line number Diff line number Diff line change 16
16
17
17
// -enable-experimental-feature requires an asserts build
18
18
// REQUIRES: asserts
19
- // rdar://116686158
20
- // UNSUPPORTED: asan
21
19
22
20
// NB: Ridiculous formatting to test that we do not include leading trivia in locations.
23
21
Original file line number Diff line number Diff line change 2
2
3
3
// -enable-experimental-feature requires an asserts build
4
4
// REQUIRES: asserts
5
- // rdar://116686158
6
- // UNSUPPORTED: asan
7
5
8
6
protocol P { }
9
7
protocol Q { }
You can’t perform that action at this time.
0 commit comments