alexfh accepted this revision.
alexfh added a comment.
This revision is now accepted and ready to land.

LG


================
Comment at: clang-tidy/misc/UnusedUsingDeclsCheck.cpp:95
@@ +94,3 @@
+  if (auto *ULE = Result.Nodes.getNodeAs<UnresolvedLookupExpr>("used")) {
+    for (auto I = ULE->decls_begin(), E = ULE->decls_end(); I != E; ++I) {
+      if (auto *USD = dyn_cast<UsingShadowDecl>(I.getDecl()))
----------------
Range-based for loop, maybe?


http://reviews.llvm.org/D20326



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

Reply via email to