Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/clang/lib/Lex/
H A DPPLexerChange.cpp37 return IncludeMacroStack.empty(); in isInPrimaryFile()
40 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
43 llvm::drop_begin(IncludeMacroStack), in isInPrimaryFile()
55 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()
75 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
76 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
339 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()
434 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
609 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
633 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp982 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
1045 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
2500 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
H A DPreprocessor.cpp167 IncludeMacroStack.clear(); in ~Preprocessor()
H A DPPMacroExpansion.cpp454 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
/openbsd-src/gnu/llvm/clang/include/clang/Lex/
H A DPreprocessor.h787 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2431 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
2438 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2439 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2440 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2441 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2442 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2443 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
2444 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2626 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()