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

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77395 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
David Greene 2009-07-28 23:24:58 +00:00
parent d4609622ad
commit fd29440c07

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