diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/llvm/Support/raw_ostream.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Support/raw_ostream.h b/include/llvm/Support/raw_ostream.h index 246fdb9..c8744d2 100644 --- a/include/llvm/Support/raw_ostream.h +++ b/include/llvm/Support/raw_ostream.h @@ -242,6 +242,10 @@ protected: /// been encountered. void error_detected() { Error = true; } + typedef char * iterator; + iterator begin(void) { return OutBufStart; } + iterator end(void) { return OutBufCur; } + //===--------------------------------------------------------------------===// // Private Interface //===--------------------------------------------------------------------===// |