Files
clang-p2996/clang/lib/Tooling/Refactoring/CMakeLists.txt
Alex Richardson a2214757e2 Move clang/Tooling/Core/Lookup.h to clang/Tooling/Refactoring/Lookup.h
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
2020-10-20 10:13:28 +01:00

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
)