[llvm-branch-commits] [clang] [LifetimeSafety] Mark all DeclRefExpr as usages of the corresp. origin (PR #154316)

Yitzhak Mandelbaum via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Fri Aug 29 12:26:57 PDT 2025


================
@@ -317,6 +317,7 @@ class ReturnOfOriginFact : public Fact {
 class UseFact : public Fact {
   OriginID UsedOrigin;
   const Expr *UseExpr;
+  bool IsWritten = false;
----------------
ymand wrote:

Comment please.

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


More information about the llvm-branch-commits mailing list