This repository was archived by the owner on Nov 1, 2021. It is now read-only.
File tree 18 files changed +114
-26
lines changed
18 files changed +114
-26
lines changed Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Support
3
+ )
4
+
1
5
add_clang_library(clangARCMigrate
2
6
ARCMT.cpp
3
7
ARCMTActions.cpp
@@ -34,11 +38,16 @@ add_dependencies(clangARCMigrate
34
38
)
35
39
36
40
target_link_libraries (clangARCMigrate
37
- clangBasic
38
41
clangAST
39
- clangParse
42
+ clangAnalysis
43
+ clangBasic
44
+ clangEdit
40
45
clangFrontend
46
+ clangLex
47
+ clangParse
41
48
clangRewriteCore
42
49
clangRewriteFrontend
50
+ clangSema
51
+ clangSerialization
43
52
clangStaticAnalyzerCheckers
44
53
)
Original file line number Diff line number Diff line change @@ -12,5 +12,7 @@ add_dependencies(clangDynamicASTMatchers
12
12
)
13
13
14
14
target_link_libraries (clangDynamicASTMatchers
15
+ clangAST
15
16
clangASTMatchers
17
+ clangBasic
16
18
)
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ MC
3
+ Support
4
+ )
5
+
1
6
add_clang_library(clangAnalysis
2
7
AnalysisDeclContext.cpp
3
8
BodyFarm.cpp
Original file line number Diff line number Diff line change 1
- set (LLVM_LINK_COMPONENTS mc)
1
+ set (LLVM_LINK_COMPONENTS
2
+ MC
3
+ Support
4
+ )
2
5
3
6
add_clang_library(clangBasic
4
7
Builtins.cpp
Original file line number Diff line number Diff line change 1
1
set (LLVM_LINK_COMPONENTS
2
- asmparser
3
- bitreader
4
- bitwriter
5
- irreader
6
- instrumentation
7
- ipo
8
- linker
9
- vectorize
2
+ AsmParser
3
+ BitReader
4
+ BitWriter
5
+ Core
6
+ IPO
7
+ IRReader
8
+ InstCombine
9
+ Instrumentation
10
+ Linker
11
+ MC
12
+ ObjCARCOpts
13
+ ScalarOpts
14
+ Support
15
+ Target
16
+ TransformUtils
17
+ Vectorize
10
18
)
11
19
12
20
add_clang_library(clangCodeGen
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Support
3
+ )
4
+
1
5
add_clang_library(clangEdit
2
6
Commit.cpp
3
7
EditedSource.cpp
Original file line number Diff line number Diff line change @@ -20,10 +20,11 @@ add_dependencies(clangFormat
20
20
)
21
21
22
22
target_link_libraries (clangFormat
23
- clangBasic
24
- clangFrontend
25
23
clangAST
26
24
clangASTMatchers
25
+ clangBasic
26
+ clangFrontend
27
+ clangLex
27
28
clangRewriteCore
28
29
clangRewriteFrontend
29
30
clangTooling
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Option
3
+ Support
4
+ )
5
+
1
6
add_clang_library(clangFrontend
2
7
ASTConsumers.cpp
3
8
ASTMerge.cpp
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Option
3
+ Support
4
+ )
5
+
1
6
add_clang_library(clangFrontendTool
2
7
ExecuteCompilerInvocation.cpp
3
8
)
@@ -9,11 +14,12 @@ add_dependencies(clangFrontendTool
9
14
)
10
15
11
16
target_link_libraries (clangFrontendTool
17
+ clangBasic
18
+ clangCodeGen
12
19
clangDriver
13
20
clangFrontend
14
21
clangRewriteCore
15
22
clangRewriteFrontend
16
- clangCodeGen
17
23
)
18
24
19
25
if (CLANG_ENABLE_ARCMT)
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Support
3
+ )
4
+
1
5
add_clang_library(clangIndex
2
6
CommentToXML.cpp
3
7
SimpleFormatContext.h
4
8
USRGeneration.cpp
5
9
)
6
10
7
11
target_link_libraries (clangIndex
8
- clangBasic
9
12
clangAST
13
+ clangBasic
10
14
clangFormat
15
+ clangLex
16
+ clangRewriteCore
17
+ clangTooling
11
18
)
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ MCParser
3
+ MC
4
+ Support
5
+ )
6
+
1
7
add_clang_library(clangParse
2
8
ParseAST.cpp
3
9
ParseCXXInlineMethods.cpp
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Support
3
+ )
4
+
1
5
add_clang_library(clangRewriteCore
2
6
DeltaTree.cpp
3
7
HTMLRewrite.cpp
@@ -18,7 +22,8 @@ add_dependencies(clangRewriteCore
18
22
)
19
23
20
24
target_link_libraries (clangRewriteCore
21
- clangBasic
22
25
clangAST
26
+ clangBasic
27
+ clangLex
23
28
clangParse
24
29
)
Original file line number Diff line number Diff line change
1
+ set (LLVM_LINK_COMPONENTS
2
+ Support
3
+ )
4
+
1
5
add_clang_library(clangRewriteFrontend
2
6
FixItRewriter.cpp
3
7
FrontendActions.cpp
@@ -21,9 +25,11 @@ add_dependencies(clangRewriteFrontend
21
25
)
22
26
23
27
target_link_libraries (clangRewriteFrontend
24
- clangBasic
25
28
clangAST
26
- clangParse
29
+ clangBasic
30
+ clangEdit
27
31
clangFrontend
32
+ clangLex
33
+ clangParse
28
34
clangRewriteCore
29
35
)
Original file line number Diff line number Diff line change 1
- set (LLVM_LINK_COMPONENTS bitreader)
1
+ set (LLVM_LINK_COMPONENTS
2
+ BitReader
3
+ Support
4
+ )
5
+
2
6
3
7
add_clang_library(clangSerialization
4
8
ASTCommon.h
@@ -32,5 +36,8 @@ add_dependencies(clangSerialization
32
36
)
33
37
34
38
target_link_libraries (clangSerialization
39
+ clangAST
40
+ clangBasic
41
+ clangLex
35
42
clangSema
36
43
)
Original file line number Diff line number Diff line change @@ -3,6 +3,10 @@ clang_tablegen(Checkers.inc -gen-clang-sa-checkers
3
3
SOURCE Checkers.td
4
4
TARGET ClangSACheckers)
5
5
6
+ set (LLVM_LINK_COMPONENTS
7
+ Support
8
+ )
9
+
6
10
add_clang_library(clangStaticAnalyzerCheckers
7
11
AllocationDiagnostics.cpp
8
12
AnalyzerStatsChecker.cpp
@@ -85,7 +89,8 @@ add_dependencies(clangStaticAnalyzerCheckers
85
89
)
86
90
87
91
target_link_libraries (clangStaticAnalyzerCheckers
88
- clangBasic
89
92
clangAST
93
+ clangAnalysis
94
+ clangBasic
90
95
clangStaticAnalyzerCore
91
96
)
Original file line number Diff line number Diff line change @@ -51,9 +51,10 @@ add_dependencies(clangStaticAnalyzerCore
51
51
)
52
52
53
53
target_link_libraries (clangStaticAnalyzerCore
54
- clangBasic
55
- clangLex
56
54
clangAST
55
+ clangAnalysis
56
+ clangBasic
57
57
clangFrontend
58
+ clangLex
58
59
clangRewriteCore
59
60
)
Original file line number Diff line number Diff line change @@ -2,6 +2,10 @@ set(LLVM_NO_RTTI 1)
2
2
3
3
include_directories ( ${CMAKE_CURRENT_BINARY_DIR} /../Checkers )
4
4
5
+ set (LLVM_LINK_COMPONENTS
6
+ Support
7
+ )
8
+
5
9
add_clang_library(clangStaticAnalyzerFrontend
6
10
AnalysisConsumer.cpp
7
11
CheckerRegistration.cpp
@@ -21,11 +25,13 @@ add_dependencies(clangStaticAnalyzerFrontend
21
25
)
22
26
23
27
target_link_libraries (clangStaticAnalyzerFrontend
24
- clangBasic
25
- clangLex
26
28
clangAST
29
+ clangAnalysis
30
+ clangBasic
27
31
clangFrontend
32
+ clangLex
28
33
clangRewriteCore
29
34
clangRewriteFrontend
30
35
clangStaticAnalyzerCheckers
36
+ clangStaticAnalyzerCore
31
37
)
Original file line number Diff line number Diff line change @@ -21,10 +21,12 @@ add_dependencies(clangTooling
21
21
)
22
22
23
23
target_link_libraries (clangTooling
24
- clangBasic
25
- clangFrontend
26
24
clangAST
27
25
clangASTMatchers
26
+ clangBasic
27
+ clangDriver
28
+ clangFrontend
29
+ clangLex
28
30
clangRewriteCore
29
31
clangRewriteFrontend
30
32
)
You can’t perform that action at this time.
0 commit comments