File tree Expand file tree Collapse file tree 1 file changed +59
-35
lines changed Expand file tree Collapse file tree 1 file changed +59
-35
lines changed Original file line number Diff line number Diff line change @@ -16,44 +16,68 @@ configure_file(
1616 ${CMAKE_CURRENT_BINARY_DIR} /clang-tidy-config.h)
1717include_directories (BEFORE ${CMAKE_CURRENT_BINARY_DIR} )
1818
19- add_clang_library(clangTidy
20- ClangTidy.cpp
21- ClangTidyCheck.cpp
22- ClangTidyModule.cpp
23- ClangTidyDiagnosticConsumer.cpp
24- ClangTidyOptions.cpp
25- ClangTidyProfiling.cpp
26- ExpandModularHeadersPPCallbacks.cpp
27- GlobList.cpp
28- NoLintDirectiveHandler.cpp
19+ if (CLANG_ENABLE_CIR)
20+ add_clang_library(clangTidy
21+ ClangTidy.cpp
22+ ClangTidyCheck.cpp
23+ ClangTidyModule.cpp
24+ ClangTidyDiagnosticConsumer.cpp
25+ ClangTidyOptions.cpp
26+ ClangTidyProfiling.cpp
27+ ExpandModularHeadersPPCallbacks.cpp
28+ GlobList.cpp
29+ NoLintDirectiveHandler.cpp
30+
31+ DEPENDS
32+ MLIRBuiltinLocationAttributesIncGen
33+ MLIRCIROpsIncGen
34+ MLIRCIREnumsGen
35+ MLIRSymbolInterfacesIncGen
2936
30- LINK_LIBS
31- clangCIR
32- ${dialect_libs}
33- MLIRCIR
34- MLIRCIRTransforms
35- MLIRAffineToStandard
36- MLIRAnalysis
37- MLIRIR
38- MLIRLLVMCommonConversion
39- MLIRLLVMDialect
40- MLIRLLVMToLLVMIRTranslation
41- MLIRMemRefDialect
42- MLIRMemRefToLLVM
43- MLIRParser
44- MLIRPass
45- MLIRSideEffectInterfaces
46- MLIRSCFToControlFlow
47- MLIRFuncToLLVM
48- MLIRSupport
49- MLIRMemRefDialect
50- MLIRTargetLLVMIRExport
51- MLIRTransforms
37+ LINK_LIBS
38+ clangCIR
39+ ${dialect_libs}
40+ MLIRCIR
41+ MLIRCIRTransforms
42+ MLIRAffineToStandard
43+ MLIRAnalysis
44+ MLIRIR
45+ MLIRLLVMCommonConversion
46+ MLIRLLVMDialect
47+ MLIRLLVMToLLVMIRTranslation
48+ MLIRMemRefDialect
49+ MLIRMemRefToLLVM
50+ MLIRParser
51+ MLIRPass
52+ MLIRSideEffectInterfaces
53+ MLIRSCFToControlFlow
54+ MLIRFuncToLLVM
55+ MLIRSupport
56+ MLIRMemRefDialect
57+ MLIRTargetLLVMIRExport
58+ MLIRTransforms
5259
53- DEPENDS
54- ClangSACheckers
55- omp_gen
60+ DEPENDS
61+ ClangSACheckers
62+ omp_gen
63+ )
64+ else ()
65+ add_clang_library(clangTidy
66+ ClangTidy.cpp
67+ ClangTidyCheck.cpp
68+ ClangTidyModule.cpp
69+ ClangTidyDiagnosticConsumer.cpp
70+ ClangTidyOptions.cpp
71+ ClangTidyProfiling.cpp
72+ ExpandModularHeadersPPCallbacks.cpp
73+ GlobList.cpp
74+ NoLintDirectiveHandler.cpp
75+
76+ DEPENDS
77+ ClangSACheckers
78+ omp_gen
5679 )
80+ endif ()
5781
5882clang_target_link_libraries(clangTidy
5983 PRIVATE
You can’t perform that action at this time.
0 commit comments