[clang] [clang] Introduce [[clang::lifetime_capture_by(X)]] (PR #111499)

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Thu Oct 17 00:40:50 PDT 2024


================
@@ -45,10 +48,14 @@ enum LifetimeKind {
   /// a default member initializer), the program is ill-formed.
   LK_MemInitializer,
 
-  /// The lifetime of a temporary bound to this entity probably ends too soon,
+  /// The lifetime of a temporary bound to this entity may end too soon,
----------------
bricknerb wrote:

Move this change outside this pull request?

https://github.com/llvm/llvm-project/pull/111499


More information about the cfe-commits mailing list