]> granicus.if.org Git - clang/commitdiff
add comments.
authorChris Lattner <sabre@nondot.org>
Fri, 12 Oct 2007 00:37:26 +0000 (00:37 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 12 Oct 2007 00:37:26 +0000 (00:37 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@42887 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Rewrite/Rewriter.h

index 2c45a7cd5a0a90becac46c49ab1114db9e40e3e5..3cae99ddc6db7bacdfc799344823587b95251089 100644 (file)
@@ -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);