summaryrefslogtreecommitdiffstats
path: root/llvm/utils/gn/secondary/clang-tools-extra/clangd/refactor/tweaks/BUILD.gn
blob: 993adce4bb5c024a997ec1190db318bb698771d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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",
    "DefineInline.cpp",
    "DefineOutline.cpp",
    "DumpAST.cpp",
    "ExpandAutoType.cpp",
    "ExpandMacro.cpp",
    "ExtractFunction.cpp",
    "ExtractVariable.cpp",
    "ObjCLocalizeStringLiteral.cpp",
    "RawStringLiteral.cpp",
    "RemoveUsingNamespace.cpp",
    "SwapIfBranches.cpp",
  ]
}
OpenPOWER on IntegriCloud