================
@@ -334,6 +334,10 @@ Attribute Changes in Clang
         [[clang::code_align(A)]] for(;;) { }
       }
 
+- Clang now introduced ``[[clang::coro_lifetimebound]]`` attribute.
+  All arguments to a function are considered to be lifetime bound if the 
function
----------------
ilya-biryukov wrote:

```suggestion
  All parameters to a function are considered to be lifetime bound if the 
function
```
Since the original attribute is applied to parameters, I believe this would be 
more accurate.
I also suggest adding something like:
```
See documentation of ``[[clang::lifetimebound]]`` for more details.
```

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

Reply via email to