Revert "[lldb][test] Remove compiler version check and use regex" (#124101)
[llvm-project.git] / clang-tools-extra / clang-tidy / cert / CMakeLists.txt
blobe3187b28399c70001ecd6b72d9ee25e600c2219a
1 set(LLVM_LINK_COMPONENTS
2   support
3   FrontendOpenMP
4   )
6 add_clang_library(clangTidyCERTModule STATIC
7   CERTTidyModule.cpp
8   CommandProcessorCheck.cpp
9   DefaultOperatorNewAlignmentCheck.cpp
10   DontModifyStdNamespaceCheck.cpp
11   FloatLoopCounter.cpp
12   LimitedRandomnessCheck.cpp
13   MutatingCopyCheck.cpp
14   NonTrivialTypesLibcMemoryCallsCheck.cpp
15   ProperlySeededRandomGeneratorCheck.cpp
16   SetLongJmpCheck.cpp
17   StaticObjectExceptionCheck.cpp
18   StrToNumCheck.cpp
19   ThrownExceptionTypeCheck.cpp
20   VariadicFunctionDefCheck.cpp
22   LINK_LIBS
23   clangTidy
24   clangTidyBugproneModule
25   clangTidyConcurrencyModule
26   clangTidyGoogleModule
27   clangTidyMiscModule
28   clangTidyPerformanceModule
29   clangTidyReadabilityModule
30   clangTidyUtils
32   DEPENDS
33   omp_gen
34   ClangDriverOptions
35   )
37 clang_target_link_libraries(clangTidyCERTModule
38   PRIVATE
39   clangAST
40   clangASTMatchers
41   clangBasic
42   clangLex
43   )