================ @@ -5663,6 +5663,8 @@ def err_explicit_instantiation_internal_linkage : Error< def err_explicit_instantiation_not_known : Error< "explicit instantiation of %0 does not refer to a function template, " "variable template, member function, member class, or static data member">; +def err_explicit_instantiation_no_candidate : Error< + "no candidate for explicit instantiation of %0">; ---------------- MitalAshok wrote:
Can't you use the above `err_explicit_instantiation_not_known` diagnostic for this? It's is already used in a similar scenario when the member functions are templates: https://godbolt.org/z/bToW3o46P (Or is this used for member function templates as well now?) https://github.com/llvm/llvm-project/pull/104438 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits