================
@@ -631,6 +631,13 @@ This warning may produce false-positives diagnostics when
it cannot fully model
}];
}
+def LifetimeSafetyMeaninglessLifetimebound
+ : DiagGroup<"lifetime-safety-meaningless-lifetimebound"> {
+ code Documentation = [{
+Detects uses of [[clang::lifetimebound]] that have no effect because the
annotated type cannot carry a lifetime.
----------------
NeKon69 wrote:
Yup, thanks, this makes more sense.
https://github.com/llvm/llvm-project/pull/201101
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits