Searched refs:Lookahead (Results 1 – 8 of 8) sorted by relevance
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/ |
| H A D | GLR.cpp | 399 SymbolID Lookahead; member in clang::pseudo::__anonec8d3c1d0411::GLRReduce 406 void operator()(std::vector<const GSS::Node *> &Heads, SymbolID Lookahead) { in operator ()() argument 407 assert(isToken(Lookahead)); in operator ()() 411 this->Lookahead = Lookahead; in operator ()() 428 return Guard({RHS, Params.Code, Lookahead}); in canReduce() 474 if (Lang.Table.canFollow(Rule.Target, Lookahead)) in popPending() 569 if (!Lang.Table.canFollow(Rule.Target, Lookahead)) in popAndPushTrivial() 637 SymbolID Lookahead = in glrParse() local 639 Reduce(NextHeads, Lookahead); in glrParse() 680 void glrReduce(std::vector<const GSS::Node *> &Heads, SymbolID Lookahead, in glrReduce() argument [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/include/clang-pseudo/ |
| H A D | Language.h | 26 SymbolID Lookahead; member
|
| H A D | GLR.h | 143 void glrReduce(std::vector<const GSS::Node *> &Heads, SymbolID Lookahead,
|
| /llvm-project-15.0.7/llvm/lib/Target/Hexagon/AsmParser/ |
| H A D | HexagonAsmParser.cpp | 967 SmallVector<AsmToken, 5> Lookahead; in tryParseRegister() local 976 Lookahead.push_back(Token); in tryParseRegister() 979 Lookahead.back().getString().data() + in tryParseRegister() 980 Lookahead.back().getString().size(); in tryParseRegister() 985 Lexer.is(AsmToken::Colon) || Lookahead.back().is(AsmToken::Colon); in tryParseRegister() 1016 Lexer.UnLex(Lookahead.pop_back_val()); in tryParseRegister() 1017 } while (!Lookahead.empty() && !Lexer.is(AsmToken::Colon)); in tryParseRegister() 1024 while (!Lookahead.empty()) { in tryParseRegister() 1025 Lexer.UnLex(Lookahead.pop_back_val()); in tryParseRegister()
|
| /llvm-project-15.0.7/clang-tools-extra/pseudo/lib/cxx/ |
| H A D | CXX.cpp | 162 return symbolToToken(P.Lookahead) != tok::kw_else; in guardNextTokenNotElse()
|
| /llvm-project-15.0.7/clang/lib/Parse/ |
| H A D | ParseTentative.cpp | 1251 int Lookahead) { in isCXXDeclarationSpecifier() argument 1255 GetLookAheadToken(Lookahead + 1).isOneOf(tok::kw_auto, tok::kw_decltype, in isCXXDeclarationSpecifier()
|
| /llvm-project-15.0.7/llvm/include/llvm/Demangle/ |
| H A D | ItaniumDemangle.h | 2482 char look(unsigned Lookahead = 0) const { 2483 if (static_cast<size_t>(Last - First) <= Lookahead) 2485 return First[Lookahead];
|
| /llvm-project-15.0.7/libcxxabi/src/demangle/ |
| H A D | ItaniumDemangle.h | 2482 char look(unsigned Lookahead = 0) const { 2483 if (static_cast<size_t>(Last - First) <= Lookahead) 2485 return First[Lookahead];
|