From 2083a91d5951306afff980b171276e7ffeac919b Mon Sep 17 00:00:00 2001 From: Lauro Ramos Venancio Date: Mon, 25 Feb 2008 19:08:51 +0000 Subject: [PATCH] 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 --- Lex/Preprocessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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!"); -- 2.40.0