Sirraide wrote:

> Here the specialization is named, which is potentially helpful.

Hmm, the diagnostic for the error here isn’t particularly great to begin with; 
I feel like it should instead mention that the return *type*, not the function, 
is marked `nodiscard`, which might be enough to fix the situation for partial 
specialisations?

https://github.com/llvm/llvm-project/pull/112289
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to