[clang] [LifetimeSafety] Look through parentheses when reporting alias chain notes (PR #240104)
Zhijie Wang via cfe-commits
cfe-commits at lists.llvm.org
Sun Nov 8 10:42:42 PST 2026
aeft wrote:
> This makes sense to me. I wonder if we should be using this function throughput all of LifetimeSafety instead of that method on `Expr` that skips MTEs too. What do you think?
@NeKon69 Good point! I did find a potential FP caused by this. Let me address it in a follow-up PR.
Regarding using this function throughout LifetimeSafety, I'll need to review each call site one by one to avoid regressions. If it's safe to do so, I'll propose a separate NFC PR to refactor them.
https://github.com/llvm/llvm-project/pull/240104
More information about the cfe-commits
mailing list