1set(LLVM_LINK_COMPONENTS
2  support
3  FrontendOpenMP
4  )
5
6add_clang_library(clangTidyCERTModule
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  PostfixOperatorCheck.cpp
16  ProperlySeededRandomGeneratorCheck.cpp
17  SetLongJmpCheck.cpp
18  StaticObjectExceptionCheck.cpp
19  StrToNumCheck.cpp
20  ThrownExceptionTypeCheck.cpp
21  VariadicFunctionDefCheck.cpp
22
23  LINK_LIBS
24  clangTidy
25  clangTidyBugproneModule
26  clangTidyGoogleModule
27  clangTidyMiscModule
28  clangTidyPerformanceModule
29  clangTidyReadabilityModule
30  clangTidyUtils
31
32  DEPENDS
33  omp_gen
34  )
35
36clang_target_link_libraries(clangTidyCERTModule
37  PRIVATE
38  clangAST
39  clangASTMatchers
40  clangBasic
41  clangLex
42  )
43