File tree Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Expand file tree Collapse file tree 4 files changed +25
-3
lines changed Original file line number Diff line number Diff line change @@ -78,7 +78,7 @@ class FixedBitSet {
78
78
static size_t chunkIndex (ValueType i) {
79
79
return size_t (i) / chunkSize;
80
80
}
81
- static size_t chunkMask (ValueType i) {
81
+ static ChunkType chunkMask (ValueType i) {
82
82
return ChunkType (1 ) << (size_t (i) % chunkSize);
83
83
}
84
84
Original file line number Diff line number Diff line change @@ -42,8 +42,8 @@ add_pure_swift_host_library(swiftASTGen STATIC
42
42
43
43
DEPENDENCIES
44
44
swiftAST
45
- swiftSyntaxUnified
46
45
SWIFT_DEPENDENCIES
46
+ swiftSyntaxUnified
47
47
${ASTGen_Swift_dependencies}
48
48
)
49
49
@@ -52,11 +52,11 @@ add_pure_swift_host_library(swiftIDEUtilsBridging
52
52
53
53
DEPENDENCIES
54
54
swiftAST
55
+ SWIFT_DEPENDENCIES
55
56
swiftASTGen
56
57
swiftSyntaxUnified
57
58
)
58
59
59
-
60
60
set (c_include_paths
61
61
# LLVM modules and headers.
62
62
"${LLVM_MAIN_INCLUDE_DIR} "
Original file line number Diff line number Diff line change @@ -30,6 +30,17 @@ target_link_libraries(swiftDriverTool
30
30
PUBLIC
31
31
${driver_common_libs} )
32
32
33
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
34
+ target_link_libraries (swiftDriverTool
35
+ PRIVATE
36
+ swiftASTGen
37
+ )
38
+
39
+ add_dependencies (swiftDriverTool
40
+ swiftASTGen
41
+ )
42
+ endif ()
43
+
33
44
# If building as part of clang, make sure the headers are installed.
34
45
if (NOT SWIFT_BUILT_STANDALONE )
35
46
add_dependencies (swiftDriverTool clang-resource-headers )
Original file line number Diff line number Diff line change @@ -37,4 +37,15 @@ target_link_libraries(swiftFrontend PRIVATE
37
37
swiftSerialization
38
38
swiftSymbolGraphGen )
39
39
40
+ if (SWIFT_BUILD_SWIFT_SYNTAX )
41
+ target_link_libraries (swiftFrontend
42
+ PRIVATE
43
+ swiftASTGen
44
+ )
45
+
46
+ add_dependencies (swiftFrontend
47
+ swiftASTGen
48
+ )
49
+ endif ()
50
+
40
51
set_swift_llvm_is_available (swiftFrontend )
You can’t perform that action at this time.
0 commit comments