[cfe-commits] r61961 - /cfe/trunk/lib/Lex/PTHLexer.cpp
Ted Kremenek
kremenek at apple.com
Thu Jan 8 16:36:11 PST 2009
Author: kremenek
Date: Thu Jan 8 18:36:11 2009
New Revision: 61961
URL: http://llvm.org/viewvc/llvm-project?rev=61961&view=rev
Log:
Invert assertion condition.
Modified:
cfe/trunk/lib/Lex/PTHLexer.cpp
Modified: cfe/trunk/lib/Lex/PTHLexer.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PTHLexer.cpp?rev=61961&r1=61960&r2=61961&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PTHLexer.cpp (original)
+++ cfe/trunk/lib/Lex/PTHLexer.cpp Thu Jan 8 18:36:11 2009
@@ -146,7 +146,7 @@
// FIXME: We can just grab the last token instead of storing a copy
// into EofToken.
void PTHLexer::getEOF(Token& Tok) {
- assert(!EofToken.is(tok::eof));
+ assert(EofToken.is(tok::eof));
Tok = EofToken;
}
More information about the cfe-commits
mailing list