[clang] [clang] Add a lifetime_capture_by testcase for temporary capturing object. (PR #117733)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 28 00:40:24 PST 2024


usx95 wrote:

>  We could potentially limit the suppression to cases where the destructor is trivial, but that might not be worth the added complexity.
I agree that might not be worth the complexity. Let's revisit if we have practical false positives.

Thanks for the tests. LGTM.

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


More information about the cfe-commits mailing list