[PATCH] D29877: Warn about unused static file scope function template declarations.

Eric Fiselier via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri May 26 17:10:10 PDT 2017


EricWF added inline comments.


================
Comment at: include/clang/Basic/DiagnosticGroups.td:631
                         // UnusedParameter, (matches GCC's behavior)
+                        // UnusedTemplate, (clean-up libc++ before enabling)
                         // UnusedMemberFunction, (clean-up llvm before enabling)
----------------
Is libc++ not clean for this? I just ran the libc++ tests with -Wunused-template and didn't see any errors.


https://reviews.llvm.org/D29877





More information about the cfe-commits mailing list