Home
last modified time | relevance | path

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

/minix3/external/bsd/llvm/dist/clang/lib/Lex/
H A DPPLexerChange.cpp37 return IncludeMacroStack.empty(); in isInPrimaryFile()
40 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
42 for (unsigned i = 1, e = IncludeMacroStack.size(); i != e; ++i) in isInPrimaryFile()
43 if (IsFileLexer(IncludeMacroStack[i])) in isInPrimaryFile()
56 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in getCurrentFileLexer()
57 const IncludeStackInfo& ISI = IncludeMacroStack[i-1]; in getCurrentFileLexer()
76 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
77 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
360 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
531 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
[all …]
H A DPPDirectives.cpp653 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()
654 IncludeStackInfo &ISEntry = IncludeMacroStack[e - i - 1]; in LookupFile()
714 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()
715 IncludeStackInfo &ISEntry = IncludeMacroStack[e-i-1]; in LookupFile()
1522 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleIncludeDirective()
H A DPPMacroExpansion.cpp198 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in isNextPPTokenLParen()
199 IncludeStackInfo &Entry = IncludeMacroStack[i-1]; in isNextPPTokenLParen()
H A DPreprocessor.cpp144 IncludeMacroStack.clear(); in ~Preprocessor()
/minix3/external/bsd/llvm/dist/clang/include/clang/Lex/
H A DPreprocessor.h351 std::vector<IncludeStackInfo> IncludeMacroStack; variable
1390 IncludeMacroStack.push_back(IncludeStackInfo( in PushIncludeMacroStack()
1397 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1398 CurPTHLexer = std::move(IncludeMacroStack.back().ThePTHLexer); in PopIncludeMacroStack()
1399 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
1400 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1401 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
1402 CurSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
1403 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
1404 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
[all …]