[PATCH] D69876: Allow output constraints on "asm goto"
Nick Desaulniers via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon Nov 18 14:04:19 PST 2019
nickdesaulniers added inline comments.
================
Comment at: clang/lib/Analysis/UninitializedValues.cpp:831
+ for (auto i = as->begin_outputs(), e = as->end_outputs(); i != e; ++i)
+ if (const VarDecl *VD = findVar(*i).getDecl())
+ vals[VD] = Initialized;
----------------
this is still not a range based for loop.
Does:
```
for (const auto &O : as->outputs())
if (const VarDecl *VD = findVar(O).getDecl())
vals[VD] = Initialized;
```
not work?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D69876/new/
https://reviews.llvm.org/D69876
More information about the llvm-commits
mailing list