5chmidti wrote:

> whether `bugprone-no-escape` would want to see these changes or not.

The `bugprone-no-escape` check seems to be a bit limited because it only works 
with `dispatch_async` and `dispatch_after` (from Apple, it seems). It could 
probably be expanded to include some more async constructs, but adding support 
for other variable types looks like it would be a positive that would 
immediately work for the above functions. Only the diagnostic of the check 
would need to be adjusted a bit.

https://github.com/llvm/llvm-project/pull/117344
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to