1set(LLVM_LINK_COMPONENTS 2 FrontendOpenMP 3 Support 4 ) 5 6add_clang_library(clangTidyMiscModule 7 DefinitionsInHeadersCheck.cpp 8 MiscTidyModule.cpp 9 MisplacedConstCheck.cpp 10 NewDeleteOverloadsCheck.cpp 11 NoRecursionCheck.cpp 12 NonCopyableObjects.cpp 13 NonPrivateMemberVariablesInClassesCheck.cpp 14 RedundantExpressionCheck.cpp 15 StaticAssertCheck.cpp 16 ThrowByValueCatchByReferenceCheck.cpp 17 UnconventionalAssignOperatorCheck.cpp 18 UniqueptrResetReleaseCheck.cpp 19 UnusedAliasDeclsCheck.cpp 20 UnusedParametersCheck.cpp 21 UnusedUsingDeclsCheck.cpp 22 23 LINK_LIBS 24 clangTidy 25 clangTidyUtils 26 27 DEPENDS 28 omp_gen 29 ) 30 31clang_target_link_libraries(clangTidyMiscModule 32 PRIVATE 33 clangAnalysis 34 clangAST 35 clangASTMatchers 36 clangBasic 37 clangLex 38 clangSerialization 39 clangTooling 40 ) 41