[cfe-commits] r42887 - /cfe/trunk/include/clang/Rewrite/Rewriter.h

Chris Lattner sabre at nondot.org
Thu Oct 11 17:37:27 PDT 2007


Author: lattner
Date: Thu Oct 11 19:37:26 2007
New Revision: 42887

URL: http://llvm.org/viewvc/llvm-project?rev=42887&view=rev
Log:
add comments.

Modified:
    cfe/trunk/include/clang/Rewrite/Rewriter.h

Modified: cfe/trunk/include/clang/Rewrite/Rewriter.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Rewrite/Rewriter.h?rev=42887&r1=42886&r2=42887&view=diff

==============================================================================
--- 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 mailing list