forked from OSchip/llvm-project
Add some protected interfaces to allow subclass access to the buffer.
llvm-svn: 77395
This commit is contained in:
parent
6c574d883c
commit
1fc3a20ccf
|
@ -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
|
||||
//===--------------------------------------------------------------------===//
|
||||
|
|
Loading…
Reference in New Issue