Skip to content

Commit e8cf91b

Browse files
committed
addressed comments
1 parent 39f1026 commit e8cf91b

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

clang/lib/AST/Interp/ByteCodeExprGen.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -405,11 +405,11 @@ template <class Emitter> class LocalScope : public VariableScope<Emitter> {
405405
}
406406

407407
void removeIfStoredOpaqueValue(const Scope::Local &Local) {
408-
if (auto *OVE =
408+
if (const auto *OVE =
409409
llvm::dyn_cast_if_present<OpaqueValueExpr>(Local.Desc->asExpr())) {
410-
if (auto it = this->Ctx->OpaqueExprs.find(OVE);
411-
it != this->Ctx->OpaqueExprs.end())
412-
this->Ctx->OpaqueExprs.erase(it);
410+
if (auto It = this->Ctx->OpaqueExprs.find(OVE);
411+
It != this->Ctx->OpaqueExprs.end())
412+
this->Ctx->OpaqueExprs.erase(It);
413413
};
414414
}
415415

0 commit comments

Comments
 (0)