From: Ted Kremenek Date: Fri, 9 Jan 2009 00:36:11 +0000 (+0000) Subject: Invert assertion condition. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=defb7094c835998bb821e894253287625ce8c74d;p=clang 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 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; }