search for: misratidymodule

Displaying 1 result from an estimated 1 matches for "misratidymodule".

2020 Sep 27
3
How to add a new clang-tidy module
...-extra/clang-tidy/misra/CMakeLists.txt new file mode 100644 index 00000000000..ca345a946c9 --- /dev/null +++ b/clang-tools-extra/clang-tidy/misra/CMakeLists.txt @@ -0,0 +1,28 @@ +set(LLVM_LINK_COMPONENTS + support + FrontendOpenMP + ) + +add_clang_library(clangTidyMISRAModule + M011Check.cpp + MISRATidyModule.cpp + LINK_LIBS + clangTidy + clangTidyBugproneModule + clangTidyGoogleModule + clangTidyMiscModule + clangTidyPerformanceModule + clangTidyReadabilityModule + clangTidyUtils + + DEPENDS + omp_gen +) + +clang_target_link_libraries(clangTidyMISRAModule + PRIVATE + clangAST + clangASTMat...