Skip to content

Commit

Permalink
[Analysis] Fix -Wrange-loop-analysis after D69876
Browse files Browse the repository at this point in the history
  • Loading branch information
MaskRay committed Feb 26, 2020
1 parent b653ab0 commit 6fb70c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/Analysis/UninitializedValues.cpp
Expand Up @@ -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;
}
Expand Down

0 comments on commit 6fb70c8

Please sign in to comment.