summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
authorTed Kremenek <kremenek@apple.com>2008-11-18 03:28:24 +0000
committerTed Kremenek <kremenek@apple.com>2008-11-18 03:28:24 +0000
commit4c5888c67a5aeaf6e4558f7fe88ee99a7cb798ae (patch)
tree5e9f3f9cea795501be4f3c97013a8a0b71866ca2 /clang
parentfe1748da07ad6493888d2a85639e9200d12014c9 (diff)
downloadbcm5719-llvm-4c5888c67a5aeaf6e4558f7fe88ee99a7cb798ae.tar.gz
bcm5719-llvm-4c5888c67a5aeaf6e4558f7fe88ee99a7cb798ae.zip
Preprocessor::PushIncludeMacroStack() should always zero out CurPPLexer.
llvm-svn: 59490
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/Lex/Preprocessor.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/include/clang/Lex/Preprocessor.h b/clang/include/clang/Lex/Preprocessor.h
index f048923a67c..165000484f6 100644
--- a/clang/include/clang/Lex/Preprocessor.h
+++ b/clang/include/clang/Lex/Preprocessor.h
@@ -508,6 +508,7 @@ private:
CurPPLexer,
CurTokenLexer.take(),
CurDirLookup));
+ CurPPLexer = 0;
}
void PopIncludeMacroStack() {
OpenPOWER on IntegriCloud