From cde8bc49a19bdb18643085e87bf1135d0a6672c0 Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 12 Oct 2007 00:37:26 +0000 Subject: [PATCH] add comments. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42887 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/Rewrite/Rewriter.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/include/clang/Rewrite/Rewriter.h b/include/clang/Rewrite/Rewriter.h index 2c45a7cd5a..3cae99ddc6 100644 --- a/include/clang/Rewrite/Rewriter.h +++ b/include/clang/Rewrite/Rewriter.h @@ -98,7 +98,9 @@ public: /// 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); -- 2.40.0