[clang] [llvm] [clang] Implement lifetime analysis for lifetime_capture_by(X) (PR #115921)

Haojian Wu via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 20 04:24:28 PST 2024


https://github.com/hokein approved this pull request.

Thanks, this looks good to me! I think we should ship it. Let’s check if @bricknerb has any additional concerns before landing it.

>From my understanding, the follow-ups outlined in the description should cover everything during the code review.

> warn if capturing X cannot capture anything. It should be a reference, pointer or a view type.

I think this one is not right any more, right?


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


More information about the cfe-commits mailing list