Home
last modified time | relevance | path

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

/freebsd-14.2/contrib/llvm-project/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()
338 if (IncludeMacroStack.empty() && in HandleEndOfFile()
348 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()
443 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
624 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
[all …]
H A DPPDirectives.cpp1006 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
1060 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
2547 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
H A DPreprocessor.cpp171 IncludeMacroStack.clear(); in ~Preprocessor()
H A DPPMacroExpansion.cpp454 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Lex/
H A DPreprocessor.h785 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2430 IncludeMacroStack.emplace_back(CurLexerCallback, CurLexerSubmodule, in PushIncludeMacroStack()
2437 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2438 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2439 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2440 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2441 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2442 CurLexerCallback = IncludeMacroStack.back().CurLexerCallback; in PopIncludeMacroStack()
2443 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2625 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()