================
@@ -27,6 +27,13 @@ namespace clang::lifetimes::internal {
 
 using OriginID = utils::ID<struct OriginTag>;
 
+/// Represents all possible expressions or declarations that function
+/// as the Src/Dest Origin in a visible assignment.
+using DestOriginEntity =
----------------
suoyuan666 wrote:

Ah, the "entity" can certainly be replaced with another word; I added the 
comments precisely to help clear up some potential misunderstandings. I didn't 
really have any better ideas for the naming here. Initially, I only considered 
`DeclRefExpr`, but I later realized that I would encounter a wider variety of 
types, so I needed a unified type to refer to them all.

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

Reply via email to