[PATCH] D66026: Make circular_raw_ostream delegate is_displayed to contained stream

Troy Johnson via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 17 07:24:04 PDT 2019


This revision was automatically updated to reflect the committed changes.
Closed by commit rG30cde4e2e6a5: [circular_raw_ostream] Delegate is_displayed to contained stream (authored by troyj).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D66026/new/

https://reviews.llvm.org/D66026

Files:
  llvm/include/llvm/Support/circular_raw_ostream.h


Index: llvm/include/llvm/Support/circular_raw_ostream.h
===================================================================
--- llvm/include/llvm/Support/circular_raw_ostream.h
+++ llvm/include/llvm/Support/circular_raw_ostream.h
@@ -122,6 +122,10 @@
       delete[] BufferArray;
     }
 
+    bool is_displayed() const override {
+      return TheStream->is_displayed();
+    }
+
     /// setStream - Tell the circular_raw_ostream to output a
     /// different stream.  "Owns" tells circular_raw_ostream whether
     /// it should take responsibility for managing the underlying


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D66026.215739.patch
Type: text/x-patch
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190817/940be140/attachment.bin>


More information about the llvm-commits mailing list