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 020184b commit 0647eeeCopy full SHA for 0647eee
clang/lib/CIR/CodeGen/CIRGenStmt.cpp
@@ -32,7 +32,7 @@ mlir::LogicalResult CIRGenFunction::emitCompoundStmtWithoutScope(
32
"If lastValue is not null then the CompoundStmt must have a "
33
"StmtExprResult");
34
35
- for (Stmt *curStmt : s.body()) {
+ for (const Stmt *curStmt : s.body()) {
36
// We have to special case labels here. They are statements, but when put
37
// at the end of a statement expression, they yield the value of their
38
// subexpression. Handle this by walking through all labels we encounter,
0 commit comments