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

Chris Lattner sabre at nondot.org
Fri Oct 3 16:31:38 PDT 2008


Author: lattner
Date: Fri Oct  3 18:31:37 2008
New Revision: 57038

URL: http://llvm.org/viewvc/llvm-project?rev=57038&view=rev
Log:
add a disclaimer


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=57038&r1=57037&r2=57038&view=diff

==============================================================================
--- cfe/trunk/include/clang/Rewrite/Rewriter.h (original)
+++ cfe/trunk/include/clang/Rewrite/Rewriter.h Fri Oct  3 18:31:37 2008
@@ -138,7 +138,10 @@
   
   /// getRewritenText - Return the rewritten form of the text in the specified
   /// range.  If the start or end of the range was unrewritable or if they are
-  /// in different buffers, this returns an empty string. 
+  /// in different buffers, this returns an empty string.
+  ///
+  /// Note that this method is not particularly efficient.
+  ///
   std::string getRewritenText(SourceRange Range) const;
   
   /// InsertText - Insert the specified string at the specified location in the





More information about the cfe-commits mailing list