summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-08-21 08:24:45 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-08-21 08:24:45 +0000
commitf3cd67369289014929ccc8431aaea536adade001 (patch)
treed123172f8ff20403e8f11e4bb19c25b6a9738af5 /include
parent7cd830be364eaf98d9c9279e0d58b52dcde614c5 (diff)
Fix commentos
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@79610 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/clang/Rewrite/Rewriter.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/include/clang/Rewrite/Rewriter.h b/include/clang/Rewrite/Rewriter.h
index 917b7fcf8a..ea4b08e71b 100644
--- a/include/clang/Rewrite/Rewriter.h
+++ b/include/clang/Rewrite/Rewriter.h
@@ -64,18 +64,17 @@ public:
bool InsertAfter = true);
- /// InsertTextBefore - Insert some text before the specified point,
- /// where the offset in the buffer is specified relative to the original
- /// SourceBuffer.
- ///
+ /// InsertTextBefore - Insert some text before the specified point, where the
+ /// offset in the buffer is specified relative to the original
+ /// SourceBuffer. The text is inserted before the specified location. This is
+ /// method is the same as InsertText with "InsertAfter == false".
void InsertTextBefore(unsigned OrigOffset, const llvm::StringRef &Str) {
InsertText(OrigOffset, Str, false);
}
- /// InsertText - Insert some text at the specified point, where the offset in
- /// the buffer is specified relative to the original SourceBuffer. The
- /// text is inserted after the specified location. This is method is the
- /// same as InsertText with "InsertAfter == false".
+ /// InsertTextAfter - Insert some text at the specified point, where the
+ /// offset in the buffer is specified relative to the original SourceBuffer.
+ /// The text is inserted after the specified location.
void InsertTextAfter(unsigned OrigOffset, const llvm::StringRef &Str) {
InsertText(OrigOffset, Str);
}