r194191 - RewriteBuffer: Remove an unused typedef

Alp Toker alp at nuanti.com
Wed Nov 6 22:11:33 PST 2013


Author: alp
Date: Thu Nov  7 00:11:33 2013
New Revision: 194191

URL: http://llvm.org/viewvc/llvm-project?rev=194191&view=rev
Log:
RewriteBuffer: Remove an unused typedef

This hasn't been used for some time.

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=194191&r1=194190&r2=194191&view=diff
==============================================================================
--- cfe/trunk/include/clang/Rewrite/Core/Rewriter.h (original)
+++ cfe/trunk/include/clang/Rewrite/Core/Rewriter.h Thu Nov  7 00:11:33 2013
@@ -40,10 +40,9 @@ class RewriteBuffer {
   /// Deltas - Keep track of all the deltas in the source code due to insertions
   /// and deletions.
   DeltaTree Deltas;
-  typedef RewriteRope BufferTy;
-  BufferTy Buffer;
+  RewriteRope Buffer;
 public:
-  typedef BufferTy::const_iterator iterator;
+  typedef RewriteRope::const_iterator iterator;
   iterator begin() const { return Buffer.begin(); }
   iterator end() const { return Buffer.end(); }
   unsigned size() const { return Buffer.size(); }





More information about the cfe-commits mailing list