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



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to