This allows removing the clangAST dependency from libclangToolingCore and therefore allows clang-format to be built without depending on clangAST. Before 1166 files had to be compiled for clang-format, now only 796. Reviewed By: bkramer Differential Revision: https://reviews.llvm.org/D89708
30 lines
528 B
CMake
30 lines
528 B
CMake
set(LLVM_LINK_COMPONENTS Support)
|
|
|
|
add_clang_library(clangToolingRefactoring
|
|
ASTSelection.cpp
|
|
ASTSelectionRequirements.cpp
|
|
AtomicChange.cpp
|
|
Extract/Extract.cpp
|
|
Extract/SourceExtraction.cpp
|
|
Lookup.cpp
|
|
RefactoringActions.cpp
|
|
Rename/RenamingAction.cpp
|
|
Rename/SymbolOccurrences.cpp
|
|
Rename/USRFinder.cpp
|
|
Rename/USRFindingAction.cpp
|
|
Rename/USRLocFinder.cpp
|
|
|
|
LINK_LIBS
|
|
clangAST
|
|
clangASTMatchers
|
|
clangBasic
|
|
clangFormat
|
|
clangIndex
|
|
clangLex
|
|
clangRewrite
|
|
clangToolingCore
|
|
|
|
DEPENDS
|
|
omp_gen
|
|
)
|