[clang] [LifetimeSafety] Implement multi-level origins (PR #168344)

Yitzhak Mandelbaum via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 4 19:40:47 PST 2025


================
@@ -52,41 +62,118 @@ struct Origin {
   }
 };
 
-/// Manages the creation, storage, and retrieval of origins for pointer-like
-/// variables and expressions.
-class OriginManager {
+/// A list of origins representing levels of indirection for pointer-like types.
----------------
ymand wrote:

Do you track through templates, like `std::optional<int*>`?

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


More information about the cfe-commits mailing list