diff options
| author | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2008-02-25 19:08:51 +0000 |
|---|---|---|
| committer | Lauro Ramos Venancio <lauro.venancio@gmail.com> | 2008-02-25 19:08:51 +0000 |
| commit | 4400a85ce8b7478e1d19fd01b8d0e36ff2b42338 (patch) | |
| tree | 6fccdce1189045b884440292604b0ae1e61818fc | |
| parent | 6610e9ec83cc3391aef1373e588b91ddc9bd7333 (diff) | |
| download | bcm5719-llvm-4400a85ce8b7478e1d19fd01b8d0e36ff2b42338.tar.gz bcm5719-llvm-4400a85ce8b7478e1d19fd01b8d0e36ff2b42338.zip | |
Revert an incorrect part of my previuos patch.
llvm-svn: 47553
| -rw-r--r-- | clang/Lex/Preprocessor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Lex/Preprocessor.cpp b/clang/Lex/Preprocessor.cpp index dbff1ec2813..be2ffefaa7b 100644 --- a/clang/Lex/Preprocessor.cpp +++ b/clang/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!"); |

