forked from OSchip/llvm-project
[Analysis] Fix -Wrange-loop-analysis after D69876
This commit is contained in:
parent
b653ab0e70
commit
6fb70c8725
|
@ -766,7 +766,7 @@ void TransferFunctions::VisitGCCAsmStmt(GCCAsmStmt *as) {
|
|||
if (!as->isAsmGoto())
|
||||
return;
|
||||
|
||||
for (const auto &o : as->outputs())
|
||||
for (const Expr *o : as->outputs())
|
||||
if (const VarDecl *VD = findVar(o).getDecl())
|
||||
vals[VD] = Initialized;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue