Author: Amr Hesham Date: 2025-12-10T15:27:18+01:00 New Revision: 3ba0ff61390255764a66f4876e2d5a6f8259d4e8
URL: https://github.com/llvm/llvm-project/commit/3ba0ff61390255764a66f4876e2d5a6f8259d4e8 DIFF: https://github.com/llvm/llvm-project/commit/3ba0ff61390255764a66f4876e2d5a6f8259d4e8.diff LOG: [CIR][NFC] Remove duplicate VisitCXXNoexceptExpr (#171624) Remove duplicate VisitCXXNoexceptExpr to fix building ClangIR Added: Modified: clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp Removed: ################################################################################ diff --git a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp index f1aa42f98dffe..929714e54531e 100644 --- a/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp +++ b/clang/lib/CIR/CodeGen/CIRGenExprScalar.cpp @@ -865,10 +865,6 @@ class ScalarExprEmitter : public StmtVisitor<ScalarExprEmitter, mlir::Value> { cgf.emitCXXThrowExpr(e); return {}; } - mlir::Value VisitCXXNoexceptExpr(CXXNoexceptExpr *e) { - cgf.cgm.errorNYI(e->getSourceRange(), "ScalarExprEmitter: cxx noexcept"); - return {}; - } mlir::Value VisitCXXNoexceptExpr(CXXNoexceptExpr *e) { return builder.getBool(e->getValue(), cgf.getLoc(e->getExprLoc())); _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
