[LLD] [COFF] Handle undefined weak symbols in LTO (#70430)
[llvm-project.git] / clang-tools-extra / clangd / refactor / tweaks / CMakeLists.txt
blob526a073f619ea34867ebe9a778a9615b61ff03aa
1 include_directories(${CMAKE_CURRENT_SOURCE_DIR}/../..)
3 set(LLVM_LINK_COMPONENTS
4   support
5   )
7 # A target containing all code tweaks (i.e. mini-refactorings) provided by
8 # clangd.
9 # Built as an object library to make sure the linker does not remove global
10 # constructors that register individual tweaks in a global registry.
11 # To enable these tweaks in executables or shared libraries, add
12 # $<TARGET_OBJECTS:obj.clangDaemonTweaks> to a list of sources, see
13 # clangd/tool/CMakeLists.txt for an example.
14 add_clang_library(clangDaemonTweaks OBJECT
15   AddUsing.cpp
16   AnnotateHighlightings.cpp
17   DumpAST.cpp
18   DefineInline.cpp
19   DefineOutline.cpp
20   ExpandDeducedType.cpp
21   ExpandMacro.cpp
22   ExtractFunction.cpp
23   ExtractVariable.cpp
24   MemberwiseConstructor.cpp
25   ObjCLocalizeStringLiteral.cpp
26   ObjCMemberwiseInitializer.cpp
27   PopulateSwitch.cpp
28   RawStringLiteral.cpp
29   RemoveUsingNamespace.cpp
30   SpecialMembers.cpp
31   SwapIfBranches.cpp
33   LINK_LIBS
34   clangAST
35   clangBasic
36   clangDaemon
37   clangdSupport
38   clangFormat
39   clangLex
40   clangSema
41   clangToolingCore
42   clangToolingRefactoring
43   clangToolingSyntax
45   DEPENDS
46   omp_gen
47   ClangDriverOptions
48   )