Skip to content
Snippets Groups Projects
Commit 174da89d authored by Ted Kremenek's avatar Ted Kremenek
Browse files

Use PushIncludeMacroStack() instead of manually manipulating the include stack.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@59181 91177308-0d34-0410-b5e6-96231b3b80d8
parent 0deae4b0
No related branches found
No related tags found
No related merge requests found
...@@ -76,10 +76,7 @@ void Preprocessor::EnterCachingLexMode() { ...@@ -76,10 +76,7 @@ void Preprocessor::EnterCachingLexMode() {
if (InCachingLexMode()) if (InCachingLexMode())
return; return;
IncludeMacroStack.push_back(IncludeStackInfo(CurLexer, CurDirLookup, PushIncludeMacroStack();
CurTokenLexer));
CurLexer = 0;
CurTokenLexer = 0;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment