[clang] 71ea3d9 - [CIR] Fix convertSideEffectForCall header/definition signature mismatch (#185118)

via cfe-commits cfe-commits at lists.llvm.org
Fri Mar 6 20:51:44 PST 2026


Author: Henrich Lauko
Date: 2026-03-07T05:51:40+01:00
New Revision: 71ea3d9cabef354afc7028ac7bf290430105f6f6

URL: https://github.com/llvm/llvm-project/commit/71ea3d9cabef354afc7028ac7bf290430105f6f6
DIFF: https://github.com/llvm/llvm-project/commit/71ea3d9cabef354afc7028ac7bf290430105f6f6.diff

LOG: [CIR] Fix convertSideEffectForCall header/definition signature mismatch (#185118)

Add missing bool &noReturn parameter to the declaration in
LowerToLLVM.h to match the definition in LowerToLLVM.cpp.

Added: 
    

Modified: 
    clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h

Removed: 
    


################################################################################
diff  --git a/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h b/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
index b7452797628c1..6133900c503b8 100644
--- a/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
+++ b/clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h
@@ -33,7 +33,7 @@ mlir::LLVM::Linkage convertLinkage(cir::GlobalLinkageKind linkage);
 void convertSideEffectForCall(mlir::Operation *callOp, bool isNothrow,
                               cir::SideEffect sideEffect,
                               mlir::LLVM::MemoryEffectsAttr &memoryEffect,
-                              bool &noUnwind, bool &willReturn);
+                              bool &noUnwind, bool &willReturn, bool &noReturn);
 
 struct LLVMBlockAddressInfo {
   // Get the next tag index


        


More information about the cfe-commits mailing list