[clang-tools-extra] [clang-tidy] Add bugprone-lambda-capture-lifetime check (PR #203757)

Baranov Victor via cfe-commits cfe-commits at lists.llvm.org
Sun Jun 14 04:44:11 PDT 2026


vbvictor wrote:

I feel this should be part of [lifetime safety analysis](https://clang.llvm.org/docs/LifetimeSafety.html), but it currently don't model lambda captures/threads I think?

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


More information about the cfe-commits mailing list