[clang] Add nodelete annotation for WebKit checkers (PR #177839)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Mon Jan 26 09:59:48 PST 2026


steakhal wrote:

Looks harmless. I wonder what happens if you add this attribute but the function definition violates this.
I suspect that such a mismatch wouldn't be detected, thus would remain in silence.
Would that be possible/worth it to check this attribute if we have a definition? So that we could say, that this attribute needs to be in the header, but the implementation would also include this and check if it's in-sync with the definition.
WDYT?

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


More information about the cfe-commits mailing list