[cfe-commits] r43079 - in /cfe/trunk/include/clang/Lex: Lexer.h Preprocessor.h
Chris Lattner
sabre at nondot.org
Wed Oct 17 11:29:00 PDT 2007
Author: lattner
Date: Wed Oct 17 13:28:59 2007
New Revision: 43079
URL: http://llvm.org/viewvc/llvm-project?rev=43079&view=rev
Log:
add some comments.
Modified:
cfe/trunk/include/clang/Lex/Lexer.h
cfe/trunk/include/clang/Lex/Preprocessor.h
Modified: cfe/trunk/include/clang/Lex/Lexer.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Lexer.h?rev=43079&r1=43078&r2=43079&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Lexer.h (original)
+++ cfe/trunk/include/clang/Lex/Lexer.h Wed Oct 17 13:28:59 2007
@@ -139,6 +139,8 @@
LexingRawMode = true;
Lex(Result);
LexingRawMode = false;
+ // Note that lexing to the end of the buffer doesn't implicitly delete the
+ // lexer when in raw mode.
return BufferPtr == BufferEnd;
}
Modified: cfe/trunk/include/clang/Lex/Preprocessor.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Lex/Preprocessor.h?rev=43079&r1=43078&r2=43079&view=diff
==============================================================================
--- cfe/trunk/include/clang/Lex/Preprocessor.h (original)
+++ cfe/trunk/include/clang/Lex/Preprocessor.h Wed Oct 17 13:28:59 2007
@@ -33,7 +33,7 @@
class PPCallbacks;
class DirectoryLookup;
-/// Preprocessor - This object forms engages in a tight little dance to
+/// Preprocessor - This object engages in a tight little dance with the lexer to
/// efficiently preprocess tokens. Lexers know only about tokens within a
/// single source file, and don't know anything about preprocessor-level issues
/// like the #include stack, token expansion, etc.
More information about the cfe-commits
mailing list