[docs] Add LICENSE.txt to the root of the mono-repo
[llvm-project.git] / clang-tools-extra / clang-tidy / cppcoreguidelines / CMakeLists.txt
blob832b0bf9d9e5e8f204125c686aeb695ade432802
1 set(LLVM_LINK_COMPONENTS
2   FrontendOpenMP
3   Support
4   )
6 add_clang_library(clangTidyCppCoreGuidelinesModule
7   AvoidConstOrRefDataMembersCheck.cpp
8   AvoidGotoCheck.cpp
9   AvoidNonConstGlobalVariablesCheck.cpp
10   CppCoreGuidelinesTidyModule.cpp
11   InitVariablesCheck.cpp
12   InterfacesGlobalInitCheck.cpp
13   MacroUsageCheck.cpp
14   NarrowingConversionsCheck.cpp
15   NoMallocCheck.cpp
16   OwningMemoryCheck.cpp
17   PreferMemberInitializerCheck.cpp
18   ProBoundsArrayToPointerDecayCheck.cpp
19   ProBoundsConstantArrayIndexCheck.cpp
20   ProBoundsPointerArithmeticCheck.cpp
21   ProTypeConstCastCheck.cpp
22   ProTypeCstyleCastCheck.cpp
23   ProTypeMemberInitCheck.cpp
24   ProTypeReinterpretCastCheck.cpp
25   ProTypeStaticCastDowncastCheck.cpp
26   ProTypeUnionAccessCheck.cpp
27   ProTypeVarargCheck.cpp
28   SlicingCheck.cpp
29   SpecialMemberFunctionsCheck.cpp
30   VirtualClassDestructorCheck.cpp
32   LINK_LIBS
33   clangTidy
34   clangTidyMiscModule
35   clangTidyModernizeModule
36   clangTidyReadabilityModule
37   clangTidyUtils
39   DEPENDS
40   omp_gen
41   )
43 clang_target_link_libraries(clangTidyCppCoreGuidelinesModule
44   PRIVATE
45   clangAST
46   clangASTMatchers
47   clangBasic
48   clangLex
49   clangSerialization
50   clangTooling
51   )