================

----------------
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
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to