[clang] [Clang][Sema] Diagnose invalid 'pure'/'const' attributes on writes (PR #217817)

Oliver Hunt via cfe-commits cfe-commits at lists.llvm.org
Mon Aug 31 00:59:11 PDT 2026


https://github.com/ojhunt requested changes to this pull request.

@AaronBallman do you think this is something we should invest time in -- it's useful in some cases, but in other cases the writes may actually be semantically safe.

Change requests are all minor rather than anything major

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


More information about the cfe-commits mailing list