[clang] [CIR] Fix convertSideEffectForCall header/definition signature mismatch (PR #185118)
Henrich Lauko via cfe-commits
cfe-commits at lists.llvm.org
Fri Mar 6 13:56:27 PST 2026
https://github.com/xlauko created https://github.com/llvm/llvm-project/pull/185118
Add missing bool &noReturn parameter to the declaration in
LowerToLLVM.h to match the definition in LowerToLLVM.cpp.
>From e8202365f62de2b7f610a1f8051be19ab1564779 Mon Sep 17 00:00:00 2001
From: xlauko <xlauko at mail.muni.cz>
Date: Fri, 6 Mar 2026 22:53:07 +0100
Subject: [PATCH] [CIR] Fix convertSideEffectForCall header/definition
signature mismatch
Add missing bool &noReturn parameter to the declaration in
LowerToLLVM.h to match the definition in LowerToLLVM.cpp.
---
clang/lib/CIR/Lowering/DirectToLLVM/LowerToLLVM.h | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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