[PATCH] D49085: [Sema] Emit a diagnostic for an invalid dependent function template specialization

John McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 17 16:10:46 PDT 2018


rjmccall added a comment.

This is the right basic approach.  I think it would be better if the diagnostic text was more like `err_function_template_spec_no_match`, maybe "no candidate function template was found for dependent friend function template specialization".  And it would be good to emit notes on any declarations we found but discarded.


Repository:
  rC Clang

https://reviews.llvm.org/D49085





More information about the cfe-commits mailing list