forked from OSchip/llvm-project
[clang][Tooling] Move STL recognizer to its own library
As pointed out in https://reviews.llvm.org/D119130#3829816, this introduces a clang AST dependency to the clangToolingInclusions, which is used by clang-format. Since rest of the inclusion tooling doesn't depend on clang ast, moving this into a separate library. Differential Revision: https://reviews.llvm.org/D135245
This commit is contained in:
parent
6053b37e45
commit
d1f13c54f1
|
@ -160,6 +160,7 @@ clang_target_link_libraries(clangDaemon
|
|||
clangTooling
|
||||
clangToolingCore
|
||||
clangToolingInclusions
|
||||
clangToolingInclusionsStdlib
|
||||
clangToolingSyntax
|
||||
)
|
||||
|
||||
|
|
|
@ -3,12 +3,12 @@ set(LLVM_LINK_COMPONENTS support)
|
|||
add_clang_library(clangToolingInclusions
|
||||
HeaderIncludes.cpp
|
||||
IncludeStyle.cpp
|
||||
StandardLibrary.cpp
|
||||
|
||||
LINK_LIBS
|
||||
clangAST
|
||||
clangBasic
|
||||
clangLex
|
||||
clangRewrite
|
||||
clangToolingCore
|
||||
)
|
||||
|
||||
add_subdirectory(Stdlib)
|
||||
|
|
|
@ -0,0 +1,6 @@
|
|||
add_clang_library(clangToolingInclusionsStdlib
|
||||
StandardLibrary.cpp
|
||||
|
||||
LINK_LIBS
|
||||
clangAST
|
||||
)
|
|
@ -81,6 +81,7 @@ clang_target_link_libraries(ToolingTests
|
|||
clangTooling
|
||||
clangToolingCore
|
||||
clangToolingInclusions
|
||||
clangToolingInclusionsStdlib
|
||||
clangToolingRefactoring
|
||||
clangTransformer
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue