1set(LLVM_LINK_COMPONENTS 2 FrontendOpenMP 3 Support 4 ) 5 6add_clang_library(clangTidyPerformanceModule 7 FasterStringFindCheck.cpp 8 ForRangeCopyCheck.cpp 9 ImplicitConversionInLoopCheck.cpp 10 InefficientAlgorithmCheck.cpp 11 InefficientStringConcatenationCheck.cpp 12 InefficientVectorOperationCheck.cpp 13 MoveConstArgCheck.cpp 14 MoveConstructorInitCheck.cpp 15 NoAutomaticMoveCheck.cpp 16 NoIntToPtrCheck.cpp 17 NoexceptMoveConstructorCheck.cpp 18 PerformanceTidyModule.cpp 19 TriviallyDestructibleCheck.cpp 20 TypePromotionInMathFnCheck.cpp 21 UnnecessaryCopyInitialization.cpp 22 UnnecessaryValueParamCheck.cpp 23 24 LINK_LIBS 25 clangTidy 26 clangTidyUtils 27 28 DEPENDS 29 omp_gen 30 ) 31 32clang_target_link_libraries(clangTidyPerformanceModule 33 PRIVATE 34 clangAST 35 clangASTMatchers 36 clangAnalysis 37 clangBasic 38 clangLex 39 ) 40