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 39f1026 commit e8cf91bCopy full SHA for e8cf91b
clang/lib/AST/Interp/ByteCodeExprGen.h
@@ -405,11 +405,11 @@ template <class Emitter> class LocalScope : public VariableScope<Emitter> {
405
}
406
407
void removeIfStoredOpaqueValue(const Scope::Local &Local) {
408
- if (auto *OVE =
+ if (const auto *OVE =
409
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);
+ if (auto It = this->Ctx->OpaqueExprs.find(OVE);
+ It != this->Ctx->OpaqueExprs.end())
+ this->Ctx->OpaqueExprs.erase(It);
413
};
414
415
0 commit comments