Mick235711 wrote:

> That is, keep the current wording if the function is nodiscard, but change it 
> to mention the type instead if the type is marked nodiscard—provided there is 
> a relatively straight-forward way of doing this.

I think this should be okay-ish to implement since we basically already have 
that information when implementing the note anyway. Will try to implement this 
tomorrow, if I can find some time...

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