[clang] [clang] Fix-it hint for `++this` -> `++*this` when deref is modifiable (PR #94159)

Richard Smith via cfe-commits cfe-commits at lists.llvm.org
Mon Jun 17 12:33:41 PDT 2024


https://github.com/zygoloid commented:

I have some significant concerns about the approach of this PR. It seems to be producing notes that in a lot of cases suggest doing something that doesn't make sense or won't compile, and tentatively building a `*p` expression is unsafe.

Can we revert and consider other approaches?

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


More information about the cfe-commits mailing list