[clang] [llvm] [clang] Implement lifetime analysis for lifetime_capture_by(X) (PR #115921)
Boaz Brickner via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 20 03:12:20 PST 2024
================
----------------
bricknerb wrote:
Do we have tests for bad usage of [[lifetime_capture_by]] ?
For example, wrong number of parameters, "X" not defined, "X" is not an object that can actually capture something (for example: an integer passed by value) etc. ?
Perhaps some of these we don't catch, but might be worth to explicitly list them.
https://github.com/llvm/llvm-project/pull/115921
More information about the llvm-commits
mailing list