From: Lauro Ramos Venancio Date: Mon, 25 Feb 2008 19:08:51 +0000 (+0000) Subject: Revert an incorrect part of my previuos patch. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2083a91d5951306afff980b171276e7ffeac919b;p=clang Revert an incorrect part of my previuos patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@47553 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Lex/Preprocessor.cpp b/Lex/Preprocessor.cpp index dbff1ec281..be2ffefaa7 100644 --- a/Lex/Preprocessor.cpp +++ b/Lex/Preprocessor.cpp @@ -2517,7 +2517,7 @@ void Preprocessor::HandleEndifDirective(Token &EndifToken) { // If this the end of a top-level #endif, inform MIOpt. if (CurLexer->getConditionalStackDepth() == 0) - CurLexer->MIOpt.EnterTopLevelConditional(); + CurLexer->MIOpt.ExitTopLevelConditional(); assert(!CondInfo.WasSkipping && !CurLexer->LexingRawMode && "This code should only be reachable in the non-skipping case!");