[clang] [LifetimeSafety] Add support for tracking temporary objects (PR #172007)

Utkarsh Saxena via cfe-commits cfe-commits at lists.llvm.org
Sun Dec 14 01:23:57 PST 2025


================
@@ -29,9 +30,25 @@ inline llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, LoanID ID) {
 /// variable.
 /// TODO: Model access paths of other types, e.g., s.field, heap and globals.
 struct AccessPath {
-  const clang::ValueDecl *D;
+  // Currently, an access path can be:
----------------
usx95 wrote:

nit: Remove `Currently, `

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


More information about the cfe-commits mailing list