================
@@ -250,6 +272,7 @@ class ReplayPreamble : private PPCallbacks {
   }
 
   const std::vector<Inclusion> Includes;
+  const MainFileMacros &Macros;
----------------
ArcsinX wrote:

Could this be a dangling reference? That is, can `ReplayPreamble` outlive 
`PreamblePatch`? E.g. for includes we keep a copy, not a reference

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

Reply via email to