[cfe-commits] r42887 - /cfe/trunk/include/clang/Rewrite/Rewriter.h
sabre at nondot.org
Thu Oct 11 17:37:27 PDT 2007
Date: Thu Oct 11 19:37:26 2007
New Revision: 42887
--- cfe/trunk/include/clang/Rewrite/Rewriter.h (original)
+++ cfe/trunk/include/clang/Rewrite/Rewriter.h Thu Oct 11 19:37:26 2007
@@ -98,7 +98,9 @@
/// on rewritable source locations.
void RemoveText(SourceLocation Start, SourceLocation End);
+ /// ReplaceText - This method replaces a range of characters in the input
+ /// buffer with a new string. This is effectively a combined "remove/insert"
+ /// operation.
void ReplaceText(SourceLocation Start, unsigned OrigLength,
const char *NewStr, unsigned NewLength);
More information about the cfe-commits