diff options
author | Ted Kremenek <kremenek@apple.com> | 2009-01-09 00:36:11 +0000 |
---|---|---|
committer | Ted Kremenek <kremenek@apple.com> | 2009-01-09 00:36:11 +0000 |
commit | defb7094c835998bb821e894253287625ce8c74d (patch) | |
tree | 0ca7b306f9ba4708a86f1b14e339357e24c75d95 /lib/Lex/PTHLexer.cpp | |
parent | f376b48c5a6cf12473f8779fba4e9d6bc005a60f (diff) |
Invert assertion condition.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61961 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Lex/PTHLexer.cpp')
-rw-r--r-- | lib/Lex/PTHLexer.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Lex/PTHLexer.cpp b/lib/Lex/PTHLexer.cpp index cfd5c6492a..a982561883 100644 --- a/lib/Lex/PTHLexer.cpp +++ b/lib/Lex/PTHLexer.cpp @@ -146,7 +146,7 @@ LexNextToken: // 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; } |