Add some protected interfaces to allow subclass access to the buffer.

llvm-svn: 77395
This commit is contained in:
David Greene 2009-07-28 23:24:58 +00:00
parent 6c574d883c
commit 1fc3a20ccf
1 changed files with 4 additions and 0 deletions

View File

@ -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
//===--------------------------------------------------------------------===//