================
@@ -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.
----------------
usx95 wrote:

Aah I see what you were referring to.

Yes, my idea is to move from an `OriginList` to `OriginTree` to support 
multiple inner pointers like `std::pair<int*, int*>` . This could be 
represented as a pre-order array but my initial preference is to have a Tree 
representation for better understanding.

https://github.com/llvm/llvm-project/pull/168344
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to