blob: 313803d9250d9bbad09260dc00a2a8c4e72c44ec [file] [log] [blame]
# A target containing all code tweaks (i.e. mini-refactorings) provided by
# clangd.
# Built as a source_set to make sure the linker does not remove global
# constructors that register individual tweaks in a global registry.
source_set("tweaks") {
configs += [ "//llvm/utils/gn/build:clang_code" ]
deps = [
"//clang-tools-extra/clangd",
"//clang/lib/AST",
"//clang/lib/Tooling/Core",
"//llvm/lib/Support",
]
include_dirs = [ "../.." ]
sources = [
"AnnotateHighlightings.cpp",
"DumpAST.cpp",
"ExpandAutoType.cpp",
"ExpandMacro.cpp",
"ExtractFunction.cpp",
"ExtractVariable.cpp",
"RawStringLiteral.cpp",
"RemoveUsingNamespace.cpp",
"SwapIfBranches.cpp",
]
}