Home
last modified time | relevance | path

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

/llvm-project-15.0.7/clang/lib/Lex/
H A DPPLexerChange.cpp36 return IncludeMacroStack.empty(); in isInPrimaryFile()
39 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
42 llvm::drop_begin(IncludeMacroStack), in isInPrimaryFile()
54 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in getCurrentFileLexer()
74 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
75 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
338 if ((LeavingSubmodule || IncludeMacroStack.empty()) && in HandleEndOfFile()
433 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
608 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
632 for (const IncludeStackInfo &ISI : llvm::reverse(IncludeMacroStack)) { in HandleMicrosoftCommentPaste()
H A DPPDirectives.cpp995 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
1058 for (IncludeStackInfo &ISEntry : llvm::reverse(IncludeMacroStack)) { in LookupFile()
2509 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleHeaderIncludeOrImport()
H A DPreprocessor.cpp167 IncludeMacroStack.clear(); in ~Preprocessor()
H A DPPMacroExpansion.cpp452 for (const IncludeStackInfo &Entry : llvm::reverse(IncludeMacroStack)) { in isNextPPTokenLParen()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DPreprocessor.h655 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2258 IncludeMacroStack.emplace_back(CurLexerKind, CurLexerSubmodule, in PushIncludeMacroStack()
2265 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2266 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2267 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2268 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2269 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2270 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
2271 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2453 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()