Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DPPLexerChange.cpp37 return IncludeMacroStack.empty(); in isInPrimaryFile()
40 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
43 IncludeMacroStack.begin() + 1, IncludeMacroStack.end(), in isInPrimaryFile()
55 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()
74 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
75 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
350 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()
443 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
611 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
635 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp854 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
917 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
2314 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()
/freebsd-13.1/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h560 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2047 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
2054 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2055 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2056 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2057 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2058 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2059 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
2060 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2221 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()