================
@@ -53,6 +53,10 @@ struct Origin {
   /// Null for synthetic lvalue origins (e.g., outer origin of DeclRefExpr).
   const Type *Ty;
 
+  /// True if this origin only holds a loan to a declaration named in scope, so
+  /// it can never hold an expired loan.
+  bool NamesDeclStorage = false;
----------------
Xazax-hun wrote:

Yeah, that is the idea. Added the comment. 

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

Reply via email to