Home
last modified time | relevance | path

Searched refs:IncludeMacroStack (Results 1 – 5 of 5) sorted by relevance

/external/clang/lib/Lex/
DPPLexerChange.cpp38 return IncludeMacroStack.empty(); in isInPrimaryFile()
41 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
43 for (unsigned i = 1, e = IncludeMacroStack.size(); i != e; ++i) in isInPrimaryFile()
44 if (IsFileLexer(IncludeMacroStack[i])) in isInPrimaryFile()
57 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in getCurrentFileLexer()
58 const IncludeStackInfo& ISI = IncludeMacroStack[i-1]; in getCurrentFileLexer()
77 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
78 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
371 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
545 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
[all …]
DPPDirectives.cpp788 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()
789 IncludeStackInfo &ISEntry = IncludeMacroStack[e - i - 1]; in LookupFile()
852 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()
853 IncludeStackInfo &ISEntry = IncludeMacroStack[e-i-1]; in LookupFile()
1739 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleIncludeDirective()
DPreprocessor.cpp148 IncludeMacroStack.clear(); in ~Preprocessor()
DPPMacroExpansion.cpp393 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in isNextPPTokenLParen()
394 IncludeStackInfo &Entry = IncludeMacroStack[i-1]; in isNextPPTokenLParen()
/external/clang/include/clang/Lex/
DPreprocessor.h358 std::vector<IncludeStackInfo> IncludeMacroStack; variable
1692 IncludeMacroStack.emplace_back( in PushIncludeMacroStack()
1699 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1700 CurPTHLexer = std::move(IncludeMacroStack.back().ThePTHLexer); in PopIncludeMacroStack()
1701 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
1702 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1703 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
1704 CurSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
1705 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
1706 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
[all …]