================
@@ -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:
In that case, I would recommend you consider whether this new design could
effectively support template cases. That is, you don't have support them with
this change, but you should be relatively sure it will work for them in the
future. My intuition is that a vector is still the right structure, because
that's exactly what we use for Nullability. The vector represents the pre-order
traversal of the type tree, with each element representing one pointer type.
https://github.com/llvm/llvm-project/pull/168344
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits