brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.2 KiB · defa12c Raw
43 lines · plain
1# A target containing all code tweaks (i.e. mini-refactorings) provided by2# clangd.3# Built as a source_set to make sure the linker does not remove global4# constructors that register individual tweaks in a global registry.5source_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    "OverridePureVirtuals.cpp",34    "PopulateSwitch.cpp",35    "RawStringLiteral.cpp",36    "RemoveUsingNamespace.cpp",37    "ScopifyEnum.cpp",38    "SpecialMembers.cpp",39    "SwapBinaryOperands.cpp",40    "SwapIfBranches.cpp",41  ]42}43