We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9857791 commit f55b393Copy full SHA for f55b393
clang/lib/CIR/CodeGen/CIRGenStmt.cpp
@@ -66,7 +66,7 @@ static mlir::LogicalResult emitStmtWithResult(CIRGenFunction &cgf,
66
mlir::LogicalResult CIRGenFunction::emitCompoundStmtWithoutScope(
67
const CompoundStmt &s, Address *lastValue, AggValueSlot slot) {
68
mlir::LogicalResult result = mlir::success();
69
- const Stmt *exprResult = s.getStmtExprResult();
+ const Stmt *exprResult = s.body_back();
70
assert((!lastValue || (lastValue && exprResult)) &&
71
"If lastValue is not null then the CompoundStmt must have a "
72
"StmtExprResult");
0 commit comments