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 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits