[ValueTracking] Provide getUnderlyingObjectAggressive fallback (#123019)
[llvm-project.git] / llvm / utils / gn / secondary / clang-tools-extra / clangd / refactor / tweaks / BUILD.gn
blob8d19295b4d3d84adb022fd0a4cb188f8c2f2eaa5
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     "../..",
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     "ScopifyEnum.cpp",
37     "SpecialMembers.cpp",
38     "SwapBinaryOperands.cpp",
39     "SwapIfBranches.cpp",
40   ]