[clang] [clang] Generate note on declaration for nodiscard-related attributes (PR #112289)
via cfe-commits
cfe-commits at lists.llvm.org
Tue Oct 15 08:14:14 PDT 2024
Sirraide wrote:
> for `nodiscard`, I don’t think you really care that much
Ah, 1 more case that comes to mind for `deprecated` is if you have several overloads, and only one of the is deprecated. I don’t really see that happening for `nodiscard` tho—making only *some* overloads `nodiscard` instead of none or all of them just seems like a really weird thing to do personally...
https://github.com/llvm/llvm-project/pull/112289
More information about the cfe-commits
mailing list