================
@@ -307,6 +310,10 @@ class LLVM_ABI MCStreamer {
     return StartTokLocPtr ? *StartTokLocPtr : SMLoc();
   }
 
+  void setLFIRewriter(MCLFIRewriter *Exp) { LFIRewriter.reset(Exp); }
----------------
aengelke wrote:

Should take unique_ptr. I assume this function is only called on LFI targets 
and otherwise the rewriter is null?

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

Reply via email to