Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/
H A DPPLexerChange.cpp38 return IncludeMacroStack.empty(); in isInPrimaryFile()
41 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
44 IncludeMacroStack.begin() + 1, IncludeMacroStack.end(), in isInPrimaryFile()
56 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()
75 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
76 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
311 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()
400 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
565 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
589 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp703 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
766 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
1708 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleIncludeDirective()
H A DPreprocessor.cpp166 IncludeMacroStack.clear(); in ~Preprocessor()
H A DPPMacroExpansion.cpp440 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
/freebsd-12.1/contrib/llvm/tools/clang/include/clang/Lex/
H A DPreprocessor.h450 std::vector<IncludeStackInfo> IncludeMacroStack; variable
1901 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
1908 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1909 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
1910 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1911 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
1912 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
1913 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
1914 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2072 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()