================
@@ -276,6 +276,30 @@ private:
   state_type __st_;
   state_type __st_last_;
   ios_base::openmode __om_;
+  // Used to track the currently used mode and track whether the output should
----------------
mordante wrote:

Review note: It might be possible to use other fields to achieve the same goal. 
Unfortunately there's no implementation documentation for this class. This 
changes seems the simplest and the easiest to validate. 

https://github.com/llvm/llvm-project/pull/76629
_______________________________________________
llvm-branch-commits mailing list
llvm-branch-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits

Reply via email to