Debian Codegraph @

llvm-project/llvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn

raw
1 # A target containing all code tweaks (i.e. mini-refactorings) provided by
2 # clangd.
3 # Built as a source_set to make sure the linker does not remove global
4 # constructors that register individual tweaks in a global registry.
5 source_set("tweaks") {
6 configs += [ "//llvm/utils/gn/build:clang_code" ]
7 deps = [
8 "//clang-tools-extra/clangd",
9 "//clang-tools-extra/clangd/support",
10 "//clang/lib/AST",
11 "//clang/lib/Tooling/Core",
12 "//llvm/lib/Support",
13 ]
14 include_dirs = [
15 "../..",
16
17 # For "clang-include-cleaner/..." includes.
18 "//clang-tools-extra/include-cleaner/include",
19 ]
20 sources = [
21 "AddUsing.cpp",
22 "AnnotateHighlightings.cpp",
23 "DefineInline.cpp",
24 "DefineOutline.cpp",
25 "DumpAST.cpp",
26 "ExpandDeducedType.cpp",
27 "ExpandMacro.cpp",
28 "ExtractFunction.cpp",
29 "ExtractVariable.cpp",
30 "MemberwiseConstructor.cpp",
31 "ObjCLocalizeStringLiteral.cpp",
32 "ObjCMemberwiseInitializer.cpp",
33 "PopulateSwitch.cpp",
34 "RawStringLiteral.cpp",
35 "RemoveUsingNamespace.cpp",
36 "SpecialMembers.cpp",
37 "SwapIfBranches.cpp",
38 ]
39 }