[llvm] [NFC][CodingStandard] Deprecate use of void casts to suppress warnings (PR #142850)

Florian Mayer via llvm-commits llvm-commits at lists.llvm.org
Wed Jun 4 15:24:41 PDT 2025


fmayer wrote:

> Yes. The attribute is needed only in function definition and not in the declaration.

My point being that we lose some precision about where it is unused, but that we think that is ok. 

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


More information about the llvm-commits mailing list