https://github.com/Sirraide commented:

Hmm, I can’t really think of a situation when this note would actually help... 
at least for `deprecated`, you could *maybe* argue that you might want to know 
what part of the codebase marked it as deprecated in case there are multiple 
declarations, but for `nodiscard`, I don’t think you really care that much, so 
I feel like this might just be adding noise instead of helping. Imo just the 
error is enough, but that’s just my opinion.

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