================
@@ -624,6 +624,13 @@ Warning to detect invalidation of references.
}];
}
+def LifetimeSafetyLifetimeboundViolation :
DiagGroup<"lifetime-safety-lifetimebound-violation"> {
+ code Documentation = [{
+Detects parameters marked as [[clang::lifetimebound]] for which we could not
verify that the return value can be lifetime bound to them.
----------------
Xazax-hun wrote:
```suggestion
Detects parameters marked as [[clang::lifetimebound]] for which the analysis
could not verify that the return value can be lifetime bound to the parameter.
```
https://github.com/llvm/llvm-project/pull/196144
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits