mirror of
https://github.com/RPCS3/llvm.git
synced 2024-12-23 04:28:30 +00:00
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:
parent
d4609622ad
commit
fd29440c07
@ -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
Block a user