"//clang/lib/ASTMatchers",
"//clang/lib/Basic",
"//clang/lib/Lex",
- "//clang/lib/Tooling/Refactoring",
+ "//clang/lib/Tooling/Transformer",
"//llvm/lib/Support",
]
sources = [
"//clang/lib/Serialization",
"//clang/lib/Tooling",
"//clang/lib/Tooling/Core",
- "//clang/lib/Tooling/Refactoring",
+ "//clang/lib/Tooling/Transformer",
"//llvm/lib/Support",
]
include_dirs = [ "//clang-tools-extra/clang-tidy" ]
"AtomicChange.cpp",
"Extract/Extract.cpp",
"Extract/SourceExtraction.cpp",
- "RangeSelector.cpp",
"RefactoringActions.cpp",
"Rename/RenamingAction.cpp",
"Rename/SymbolOccurrences.cpp",
"Rename/USRFinder.cpp",
"Rename/USRFindingAction.cpp",
"Rename/USRLocFinder.cpp",
- "SourceCode.cpp",
- "SourceCodeBuilders.cpp",
- "Stencil.cpp",
- "Transformer.cpp",
]
}
--- /dev/null
+static_library("Transformer") {
+ output_name = "clangToolingTransformer"
+ configs += [ "//llvm/utils/gn/build:clang_code" ]
+ deps = [
+ "//clang/lib/AST",
+ "//clang/lib/ASTMatchers",
+ "//clang/lib/Basic",
+ "//clang/lib/Lex",
+ "//clang/lib/Tooling/Core",
+ "//clang/lib/Tooling/Refactoring",
+ "//llvm/lib/Support",
+ ]
+ sources = [
+ "RangeSelector.cpp",
+ "SourceCode.cpp",
+ "SourceCodeBuilders.cpp",
+ "Stencil.cpp",
+ "Transformer.cpp",
+ ]
+}
"//clang/lib/Tooling",
"//clang/lib/Tooling/Core",
"//clang/lib/Tooling/Refactoring",
+ "//clang/lib/Tooling/Transformer",
"//llvm/lib/Support",
"//llvm/lib/Target:TargetsToBuild",
"//llvm/lib/Testing/Support",