r193591 - Remove obsolete RewriteBuffer comment

Alp Toker alp at nuanti.com
Tue Oct 29 00:47:57 PDT 2013


Author: alp
Date: Tue Oct 29 02:47:57 2013
New Revision: 193591

URL: http://llvm.org/viewvc/llvm-project?rev=193591&view=rev
Log:
Remove obsolete RewriteBuffer comment

The string buffer in question was replaced with RewriteRope in r43884
back in 2007.

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

Modified: cfe/trunk/include/clang/Rewrite/Core/Rewriter.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Rewrite/Core/Rewriter.h?rev=193591&r1=193590&r2=193591&view=diff
==============================================================================
--- cfe/trunk/include/clang/Rewrite/Core/Rewriter.h (original)
+++ cfe/trunk/include/clang/Rewrite/Core/Rewriter.h Tue Oct 29 02:47:57 2013
@@ -40,10 +40,6 @@ class RewriteBuffer {
   /// Deltas - Keep track of all the deltas in the source code due to insertions
   /// and deletions.
   DeltaTree Deltas;
-
-  /// Buffer - This is the actual buffer itself.  Note that using a vector or
-  /// string is a horribly inefficient way to do this, we should use a rope
-  /// instead.
   typedef RewriteRope BufferTy;
   BufferTy Buffer;
 public:





More information about the cfe-commits mailing list