[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 11:48:12 PDT 2017


EricWF added a comment.

I think this patch still gets the following case wrong:

  // foo.h
  constexpr struct {
    template <class T> void operator()(T) {} // emits unused template warning
  } foo;


https://reviews.llvm.org/D29877





More information about the cfe-commits mailing list