================
@@ -43,7 +43,7 @@ struct LivenessInfo {
   /// multiple uses along different paths, this will point to the use appearing
   /// earlier in the translation unit.
   /// This is 'null' when the origin is not live.
-  const UseFact *CausingUseFact;
+  llvm::PointerUnion<const UseFact *, const OriginEscapesFact *> CausingFact;
----------------
kashika0112 wrote:

Thank you that's a really good suggestion. However, we are going ahead with the 
pointer union for now. 

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

Reply via email to