[PATCH] D20519: [clang-tidy] Ignore ADL-style using decls in unused-using-decls check.

Alexander Kornienko via cfe-commits cfe-commits at lists.llvm.org
Mon May 23 04:54:55 PDT 2016


alexfh added inline comments.

================
Comment at: clang-tidy/misc/UnusedUsingDeclsCheck.cpp:47
@@ +46,3 @@
+      return;
+    // Ignores using-declarations defined in function definitions to avoid
+    // arguement-dependent lookup.
----------------
I don't think using declarations in functions are inherently related to ADL. This check doesn't seem like a useful heuristic.


http://reviews.llvm.org/D20519





More information about the cfe-commits mailing list