[clang] [Lifetime Safety] Distinguish attributed/inferred lifetimebound diagnostics (PR #220248)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 1 09:12:48 PDT 2026


https://github.com/usx95 commented:

Overall LG. One major comment would be to check for implicit attr to check for inference (in addition to the existing signals in this PR). This would help to identify analysis is inferring annotations based on function body (e.g. `return_lambda_capturing_param`).

One feature request to improve aliasing information about `operator->` but for a separate PR.

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


More information about the cfe-commits mailing list