From defb7094c835998bb821e894253287625ce8c74d Mon Sep 17 00:00:00 2001 From: Ted Kremenek Date: Fri, 9 Jan 2009 00:36:11 +0000 Subject: [PATCH] Invert assertion condition. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61961 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/Lex/PTHLexer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1