Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/clang/lib/Lex/
H A DPPLexerChange.cpp35 return IncludeMacroStack.empty(); in isInPrimaryFile()
38 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
41 IncludeMacroStack.begin() + 1, IncludeMacroStack.end(), in isInPrimaryFile()
53 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()
72 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
73 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
312 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()
402 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
570 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
594 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp791 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
854 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
2243 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
H A DPreprocessor.cpp172 IncludeMacroStack.clear(); in ~Preprocessor()
H A DPPMacroExpansion.cpp449 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
/netbsd-src/external/apache2/llvm/dist/clang/include/clang/Lex/
H A DPreprocessor.h558 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2045 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
2052 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2053 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2054 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2055 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2056 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2057 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
2058 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2219 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()