[clang] [NFC][LifetimeSafety]: Track assignment history within a single CFGBlock (PR #196075)

via cfe-commits cfe-commits at lists.llvm.org
Wed May 6 10:01:56 PDT 2026


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

Also why is it DestOriginEntity and not just DestEntity? I feel like that would make more sense. Also I would definitely reconsider "entity" for another word here.

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


More information about the cfe-commits mailing list