[cfe-commits] r59181 - /cfe/trunk/lib/Lex/PPCaching.cpp
Ted Kremenek
kremenek at apple.com
Wed Nov 12 14:21:59 PST 2008
Author: kremenek
Date: Wed Nov 12 16:21:57 2008
New Revision: 59181
URL: http://llvm.org/viewvc/llvm-project?rev=59181&view=rev
Log:
Use PushIncludeMacroStack() instead of manually manipulating the include stack.
Modified:
cfe/trunk/lib/Lex/PPCaching.cpp
Modified: cfe/trunk/lib/Lex/PPCaching.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPCaching.cpp?rev=59181&r1=59180&r2=59181&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPCaching.cpp (original)
+++ cfe/trunk/lib/Lex/PPCaching.cpp Wed Nov 12 16:21:57 2008
@@ -76,10 +76,7 @@
if (InCachingLexMode())
return;
- IncludeMacroStack.push_back(IncludeStackInfo(CurLexer, CurDirLookup,
- CurTokenLexer));
- CurLexer = 0;
- CurTokenLexer = 0;
+ PushIncludeMacroStack();
}
More information about the cfe-commits
mailing list