File tree Expand file tree Collapse file tree 9 files changed +3
-278
lines changed
lib/CIR/Lowering/DirectToLLVM Expand file tree Collapse file tree 9 files changed +3
-278
lines changed Load Diff This file was deleted.
Original file line number Diff line number Diff line change 2727#include " clang/CIR/Dialect/IR/CIRAttrVisitor.h"
2828#include " clang/CIR/Dialect/IR/CIRDialect.h"
2929#include " clang/CIR/MissingFeatures.h"
30- #include " clang/CIR/Passes.h"
3130#include " llvm/IR/Module.h"
3231#include " llvm/Support/TimeProfiler.h"
3332
@@ -305,11 +304,11 @@ void ConvertCIRToLLVMPass::runOnOperation() {
305304 signalPassFailure ();
306305}
307306
308- std::unique_ptr<mlir::Pass> createConvertCIRToLLVMPass () {
307+ static std::unique_ptr<mlir::Pass> createConvertCIRToLLVMPass () {
309308 return std::make_unique<ConvertCIRToLLVMPass>();
310309}
311310
312- void populateCIRToLLVMPasses (mlir::OpPassManager &pm) {
311+ static void populateCIRToLLVMPasses (mlir::OpPassManager &pm) {
313312 pm.addPass (createConvertCIRToLLVMPass ());
314313}
315314
Load Diff This file was deleted.
Load Diff This file was deleted.
Original file line number Diff line number Diff line change @@ -85,13 +85,7 @@ list(APPEND CLANG_TEST_DEPS
8585 diagtool
8686 hmaptool
8787 )
88-
89- if (CLANG_ENABLE_CIR)
90- list (APPEND CLANG_TEST_DEPS
91- cir-opt
92- )
93- endif ()
94-
88+
9589if (CLANG_ENABLE_STATIC_ANALYZER)
9690 list (APPEND CLANG_TEST_DEPS
9791 clang-check
Original file line number Diff line number Diff line change 2929 ".c" ,
3030 ".cpp" ,
3131 ".i" ,
32- ".cir" ,
3332 ".cppm" ,
3433 ".m" ,
3534 ".mm" ,
8685tools = [
8786 "apinotes-test" ,
8887 "c-index-test" ,
89- "cir-opt" ,
9088 "clang-diff" ,
9189 "clang-format" ,
9290 "clang-repl" ,
Original file line number Diff line number Diff line change @@ -3,9 +3,6 @@ create_subdirectory_options(CLANG TOOL)
33add_clang_subdirectory(diagtool)
44add_clang_subdirectory(driver)
55add_clang_subdirectory(apinotes-test )
6- if (CLANG_ENABLE_CIR)
7- add_clang_subdirectory(cir-opt)
8- endif ()
96add_clang_subdirectory(clang-diff)
107add_clang_subdirectory(clang-format)
118add_clang_subdirectory(clang-fuzzer)
Load Diff This file was deleted.
Load Diff This file was deleted.
You can’t perform that action at this time.
0 commit comments