commit | e4caf141a4b2de22483065231a4aaaf2fc2079ec | [log] [tgz] |
---|---|---|
author | Ted Kremenek <kremenek@apple.com> | Fri Jan 09 00:36:11 2009 +0000 |
committer | Ted Kremenek <kremenek@apple.com> | Fri Jan 09 00:36:11 2009 +0000 |
tree | 0ca7b306f9ba4708a86f1b14e339357e24c75d95 | |
parent | f6f18b2615a91f458fa65cae8d8190f8ccb9bf17 [diff] [blame] |
Invert assertion condition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61961 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp index cfd5c64..a982561 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/lib/Lex/PTHLexer.cpp
@@ -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; }