Home
last modified time | relevance | path

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

/aosp_15_r20/external/clang/lib/Lex/
H A DPPLexerChange.cpp38 return IncludeMacroStack.empty(); in isInPrimaryFile()
41 assert(IsFileLexer(IncludeMacroStack[0]) && in isInPrimaryFile()
43 for (unsigned i = 1, e = IncludeMacroStack.size(); i != e; ++i) in isInPrimaryFile()
44 if (IsFileLexer(IncludeMacroStack[i])) in isInPrimaryFile()
57 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in getCurrentFileLexer()
58 const IncludeStackInfo& ISI = IncludeMacroStack[i-1]; in getCurrentFileLexer()
77 if (MaxIncludeStackDepth < IncludeMacroStack.size()) in EnterSourceFile()
78 MaxIncludeStackDepth = IncludeMacroStack.size(); in EnterSourceFile()
371 if (!IncludeMacroStack.empty()) { in HandleEndOfFile()
545 assert(!IncludeMacroStack.empty() && "Ran out of stack entries to load"); in RemoveTopOfLexerStack()
[all …]
H A DPPDirectives.cpp788 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()
789 IncludeStackInfo &ISEntry = IncludeMacroStack[e - i - 1]; in LookupFile()
852 for (unsigned i = 0, e = IncludeMacroStack.size(); i != e; ++i) { in LookupFile()
853 IncludeStackInfo &ISEntry = IncludeMacroStack[e-i-1]; in LookupFile()
1739 if (IncludeMacroStack.size() == MaxAllowedIncludeStackDepth-1) { in HandleIncludeDirective()
H A DPPMacroExpansion.cpp393 for (unsigned i = IncludeMacroStack.size(); i != 0; --i) { in isNextPPTokenLParen()
394 IncludeStackInfo &Entry = IncludeMacroStack[i-1]; in isNextPPTokenLParen()
H A DPreprocessor.cpp148 IncludeMacroStack.clear(); in ~Preprocessor()
/aosp_15_r20/external/clang/include/clang/Lex/
H A DPreprocessor.h358 std::vector<IncludeStackInfo> IncludeMacroStack; variable
1692 IncludeMacroStack.emplace_back( in PushIncludeMacroStack()
1699 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
1700 CurPTHLexer = std::move(IncludeMacroStack.back().ThePTHLexer); in PopIncludeMacroStack()
1701 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
1702 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
1703 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
1704 CurSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
1705 CurLexerKind = IncludeMacroStack.back().CurLexerKind; in PopIncludeMacroStack()
1706 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
[all …]
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r522817/include/clang/Lex/
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()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567/include/clang/Lex/
DPreprocessor.h795 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2440 IncludeMacroStack.emplace_back(CurLexerCallback, CurLexerSubmodule, in PushIncludeMacroStack()
2447 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2448 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2449 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2450 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2451 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2452 CurLexerCallback = IncludeMacroStack.back().CurLexerCallback; in PopIncludeMacroStack()
2453 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2635 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r536225/include/clang/Lex/
DPreprocessor.h795 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2441 IncludeMacroStack.emplace_back(CurLexerCallback, CurLexerSubmodule, in PushIncludeMacroStack()
2448 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2449 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2450 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2451 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2452 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2453 CurLexerCallback = IncludeMacroStack.back().CurLexerCallback; in PopIncludeMacroStack()
2454 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2636 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()
/aosp_15_r20/prebuilts/clang/host/linux-x86/clang-r530567b/include/clang/Lex/
DPreprocessor.h795 std::vector<IncludeStackInfo> IncludeMacroStack; variable
2440 IncludeMacroStack.emplace_back(CurLexerCallback, CurLexerSubmodule, in PushIncludeMacroStack()
2447 CurLexer = std::move(IncludeMacroStack.back().TheLexer); in PopIncludeMacroStack()
2448 CurPPLexer = IncludeMacroStack.back().ThePPLexer; in PopIncludeMacroStack()
2449 CurTokenLexer = std::move(IncludeMacroStack.back().TheTokenLexer); in PopIncludeMacroStack()
2450 CurDirLookup = IncludeMacroStack.back().TheDirLookup; in PopIncludeMacroStack()
2451 CurLexerSubmodule = IncludeMacroStack.back().TheSubmodule; in PopIncludeMacroStack()
2452 CurLexerCallback = IncludeMacroStack.back().CurLexerCallback; in PopIncludeMacroStack()
2453 IncludeMacroStack.pop_back(); in PopIncludeMacroStack()
2635 return !CurPPLexer && !CurTokenLexer && !IncludeMacroStack.empty(); in InCachingLexMode()