[cfe-commits] r79610 - /cfe/trunk/include/clang/Rewrite/Rewriter.h
Daniel Dunbar
daniel at zuster.org
Fri Aug 21 01:24:45 PDT 2009
Author: ddunbar
Date: Fri Aug 21 03:24:45 2009
New Revision: 79610
URL: http://llvm.org/viewvc/llvm-project?rev=79610&view=rev
Log:
Fix commentos
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=79610&r1=79609&r2=79610&view=diff
==============================================================================
--- cfe/trunk/include/clang/Rewrite/Rewriter.h (original)
+++ cfe/trunk/include/clang/Rewrite/Rewriter.h Fri Aug 21 03:24:45 2009
@@ -64,18 +64,17 @@
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);
}
More information about the cfe-commits
mailing list