[PATCH] D25437: [clang-tidy] Fix template agrument false positives in unused-using-decls.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Mon Oct 10 14:06:26 PDT 2016


aaron.ballman added inline comments.


================
Comment at: test/clang-tidy/misc-unused-using-decls.cpp:191
+// n::N is using in the explicit template instantiations.
+template void h(n::M<N>* t);
----------------
Can you add a test using a non-type template argument, like an integer literal? I believe that still causes the diagnostic, though do we want it to?


https://reviews.llvm.org/D25437





More information about the cfe-commits mailing list