mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-01 00:33:09 +00:00
There is no EndPtr anymore - reinterpret the original comment in terms
of InputData. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@118677 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
2c4d5125c7
commit
867fe8570f
@ -71,13 +71,13 @@ public:
|
||||
struct stat *FileInfo = 0);
|
||||
|
||||
/// getMemBuffer - Open the specified memory range as a MemoryBuffer. Note
|
||||
/// that EndPtr[0] must be a null byte and be accessible!
|
||||
/// that InputData must be null terminated.
|
||||
static MemoryBuffer *getMemBuffer(StringRef InputData,
|
||||
StringRef BufferName = "");
|
||||
|
||||
/// getMemBufferCopy - Open the specified memory range as a MemoryBuffer,
|
||||
/// copying the contents and taking ownership of it. This has no requirements
|
||||
/// on EndPtr[0].
|
||||
/// copying the contents and taking ownership of it. InputData does not
|
||||
/// have to be null terminated.
|
||||
static MemoryBuffer *getMemBufferCopy(StringRef InputData,
|
||||
StringRef BufferName = "");
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user