[PATCH] D27033: [ASTImporter] Support importing UnresolvedLookupExpr nodes

Sean Callanan via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 28 13:51:17 PST 2016


spyffe added a comment.

I only have a stylistic nit to add to Aleksei's comments.



================
Comment at: lib/AST/ASTImporter.cpp:6492
+  UnresolvedSet<8> ToDecls;
+  for (UnresolvedLookupExpr::decls_iterator S = E->decls_begin(),
+                                            F = E->decls_end();
----------------
a.sidorin wrote:
> `auto` will look nice here.
Alternatively,
```
for (Decl *D : E->decls())
```


https://reviews.llvm.org/D27033





More information about the cfe-commits mailing list