[clang] [clang] Add the candiscard attribute to suppress nodiscard (PR #154943)

via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 23 07:12:24 PDT 2025


halbi2 wrote:

> Implementing an attribute as a clang extension requires an RFC. An attribute is part of the clang frontend so as such post under that category on discourse.

Unfortunately my browser is unsupported. Can you help?

@cor3ntin you said MSVC has already deployed `[[nodiscard]] expected`, could that be used as evidence in favor?

https://github.com/llvm/llvm-project/pull/154943


More information about the cfe-commits mailing list