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

Yuan Suo via cfe-commits cfe-commits at lists.llvm.org
Thu May 7 22:45:54 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 =
----------------
suoyuan666 wrote:

Following https://github.com/llvm/llvm-project/pull/196075#pullrequestreview-4246350611, I have removed all expression-related logic. Consequently, I will mark many of your previous comments as resolved.

Thank you for your suggestions regarding the expression handling logic! I will do my best to incorporate them into my future PR for the `Sema` diagnostic logic.



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


More information about the cfe-commits mailing list