Remove the specified text from the buffer.
Declared in <llvm/ADT/RewriteBuffer.h>
void
RemoveText(
unsigned int OrigOffset,
unsigned int Size,
bool removeLineIfEmpty = false);
| Name | Description |
|---|---|
| OrigOffset | Offset into the original SourceBuffer where removal begins. |
| Size | Number of characters to remove. |
| removeLineIfEmpty | If true, also remove the enclosing line when it becomes empty after the removal. |