[clang] [Lifetime Safety] Highlight lifetimebound calls in alias chain diagnostics (PR #206337)

via cfe-commits cfe-commits at lists.llvm.org
Sun Jul 12 01:33:16 PDT 2026


iitianpushkar wrote:

Hey @NeKon69 , I have updated the patch according to the asked changes. 

Changes made:
- Added `getLifetimeSafetyCallArgs` as a shared helper for call argument collection.
- Narrowed `HiddenLifetimeBound` forwarding: it is only carried when the hidden expression has the same source range as or directly wraps the visible expression it explains.

Please review it once.

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


More information about the cfe-commits mailing list