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

Boaz Brickner via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 15 06:09:40 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
----------------
bricknerb wrote:

Nit: Use "Clang" and not "clang" when referring to it.

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


More information about the cfe-commits mailing list