aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Rewrite/Rewriter.h
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
commit7a02344d9b45db3719adabf8118887253fe944e4 (patch)
tree255063b54b3620248a979cda80c3481098d64af3 /include/clang/Rewrite/Rewriter.h
parentb5cd09a2bf1509167a2e7a46bdd0316812a93335 (diff)
add a disclaimer
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@57038 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Rewrite/Rewriter.h')
-rw-r--r--include/clang/Rewrite/Rewriter.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/include/clang/Rewrite/Rewriter.h b/include/clang/Rewrite/Rewriter.h
index 9a579f1263..59ed5d826b 100644
--- a/include/clang/Rewrite/Rewriter.h
+++ b/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