[clang] [clang] Implement lifetime analysis for lifetime_capture_by(X) (PR #115921)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 06:37:59 PST 2024


================
@@ -3983,6 +3990,21 @@ The attribute supports specifying more than one capturing entities:
     s2.insert(a);
   }
 
+Currently clang would diagnose when a temporary is used as an argument to a
----------------
usx95 wrote:

Done.

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


More information about the cfe-commits mailing list