summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2008-10-03 23:31:37 +0000
committerChris Lattner <sabre@nondot.org>2008-10-03 23:31:37 +0000
commit879876d26acb37a0dce7c42320f2c26fc9353e94 (patch)
tree6056aaca16f90053f00ef0801e73eb805d07307d
parent7c306a70b971cd0d7ac4c7845fc2b9991ad143b7 (diff)
downloadbcm5719-llvm-879876d26acb37a0dce7c42320f2c26fc9353e94.tar.gz
bcm5719-llvm-879876d26acb37a0dce7c42320f2c26fc9353e94.zip
add a disclaimer
llvm-svn: 57038
-rw-r--r--clang/include/clang/Rewrite/Rewriter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/clang/include/clang/Rewrite/Rewriter.h b/clang/include/clang/Rewrite/Rewriter.h
index 9a579f12634..59ed5d826b4 100644
--- a/clang/include/clang/Rewrite/Rewriter.h
+++ b/clang/include/clang/Rewrite/Rewriter.h
@@ -138,7 +138,10 @@ public:
/// 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
OpenPOWER on IntegriCloud