aboutsummaryrefslogtreecommitdiff
path: root/include/clang/Lex/Lexer.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-12-23 19:08:19 +0000
committerChris Lattner <sabre@nondot.org>2009-12-23 19:08:19 +0000
commit4718e67ca9018342483dccb40d43e339101ac386 (patch)
treee4c14b72e73f0b636d052393cd5d1f31eb70e6ad /include/clang/Lex/Lexer.h
parenta3b089e062133bdc0e5c39ea03f8b78230953f6c (diff)
update comments
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@92022 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/Lex/Lexer.h')
-rw-r--r--include/clang/Lex/Lexer.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/clang/Lex/Lexer.h b/include/clang/Lex/Lexer.h
index fc65b1fc54..0f36df43e2 100644
--- a/include/clang/Lex/Lexer.h
+++ b/include/clang/Lex/Lexer.h
@@ -255,8 +255,8 @@ public:
// string processing, because we know we need to read until we find the
// closing '"' character.
//
- // The second interface is the combination of PeekCharAndSize with
- // ConsumeChar. PeekCharAndSize reads a phase 1/2 translated character,
+ // The second interface is the combination of getCharAndSize with
+ // ConsumeChar. getCharAndSize reads a phase 1/2 translated character,
// returning it and its size. If the lexer decides that this character is
// part of the current token, it calls ConsumeChar on it. This two stage
// approach allows us to emit diagnostics for characters (e.g. warnings about
@@ -287,7 +287,7 @@ public:
}
private:
- /// ConsumeChar - When a character (identified by PeekCharAndSize) is consumed
+ /// ConsumeChar - When a character (identified by getCharAndSize) is consumed
/// and added to a given token, check to see if there are diagnostics that
/// need to be emitted or flags that need to be set on the token. If so, do
/// it.