Searched refs:CachedTokens (Results 1 – 18 of 18) sorted by relevance
52 if (CachedLexPos < CachedTokens.size()) { in CachingLex()53 Result = CachedTokens[CachedLexPos++]; in CachingLex()63 CachedTokens.push_back(Result); in CachingLex()68 if (CachedLexPos < CachedTokens.size()) { in CachingLex()72 CachedTokens.clear(); in CachingLex()87 assert(CachedLexPos + N > CachedTokens.size() && "Confused caching."); in PeekAhead()89 for (unsigned C = CachedLexPos + N - CachedTokens.size(); C > 0; --C) { in PeekAhead()90 CachedTokens.push_back(Token()); in PeekAhead()91 Lex(CachedTokens.back()); in PeekAhead()94 return CachedTokens.back(); in PeekAhead()[all …]
195 if (CachedLexPos < CachedTokens.size()) { in EnterTokenStream()198 CachedTokens.insert(CachedTokens.begin() + CachedLexPos, in EnterTokenStream()
123 CachedTokens Toks; in ParseCXXInlineMethodDef()140 CachedTokens &Toks = LM->Toks; in ParseCXXInlineMethodDef()204 CachedTokens &Toks = MI->Toks; in ParseCXXNonStaticMemberInitializer()322 if (CachedTokens *Toks = LM.DefaultArgs[I].Toks) { in ParseLexedMethodDeclaration()397 if (CachedTokens *Toks = LM.ExceptionSpecTokens) { in ParseLexedMethodDeclaration()436 CachedTokens *ExceptionSpecTokens; in ParseLexedMethodDeclaration()670 CachedTokens &Toks, in ConsumeAndStoreUntil()769 bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) { in ConsumeAndStoreFunctionPrologue()941 bool Parser::ConsumeAndStoreConditional(CachedTokens &Toks) { in ConsumeAndStoreConditional()994 CachedTokens Toks;[all …]
495 CachedTokens &Toks, SourceLocation Loc) { in ParseOMPDeclareSimdClauses()596 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl()
1053 CachedTokens Toks; in ParseFunctionDefinition()1186 CachedTokens Skipped; in SkipFunctionBody()
1421 void Parser::LexTemplateFunctionForLateParsing(CachedTokens &Toks) { in LexTemplateFunctionForLateParsing()
1180 CachedTokens *ExceptionSpecTokens; in ParseLambdaExpressionAfterIntroducer()3130 CachedTokens Toks; in ParseCXXAmbiguousParenExpression()
5598 CachedTokens *ExceptionSpecTokens = nullptr; in ParseFunctionDeclarator()5926 CachedTokens *DefArgToks = nullptr; in ParseParameterDeclarationClause()5963 DefArgToks = new CachedTokens; in ParseParameterDeclarationClause()
3353 CachedTokens *&ExceptionSpecTokens) { in tryParseExceptionSpecification()3381 ExceptionSpecTokens = new CachedTokens; in tryParseExceptionSpecification()
2012 CachedTokens Toks; in trySkippingFunctionBody()
2667 CachedTokens &Toks = LM->Toks; in StashAwayMethodOrFunctionBodyTokens()
954 CachedTokens Toks;985 CachedTokens Toks;1004 CachedTokens *Toks = nullptr)1014 CachedTokens *Toks;1047 CachedTokens *ExceptionSpecTokens;1066 CachedTokens Toks;1192 void LexTemplateFunctionForLateParsing(CachedTokens &Toks);1227 bool ConsumeAndStoreFunctionPrologue(CachedTokens &Toks);1228 bool ConsumeAndStoreInitializer(CachedTokens &Toks, CachedInitKind CIK);1229 bool ConsumeAndStoreConditional(CachedTokens &Toks);[all …]
619 CachedTokensTy CachedTokens; variable1154 if (CachedLexPos + N < CachedTokens.size()) in LookAhead()1155 return CachedTokens[CachedLexPos+N]; in LookAhead()1181 CachedTokens.insert(CachedTokens.begin()+CachedLexPos, Tok); in EnterToken()1202 return CachedTokens[CachedLexPos-1].getLastLoc(); in getLastCachedTokenLocation()1227 CachedTokens[CachedLexPos-1] = Tok; in ReplaceLastTokenWithAnnotation()1235 CachedTokens[CachedLexPos-1] = Tok; in TypoCorrectToken()
1095 typedef SmallVector<Token, 4> CachedTokens; typedef1189 CachedTokens *DefaultArgTokens;1194 CachedTokens *DefArgTokens = nullptr)1300 CachedTokens *ExceptionSpecTokens;1545 CachedTokens *ExceptionSpecTokens,
5437 CachedTokens &Toks);9640 CachedTokens Toks;
175 CachedTokens *ExceptionSpecTokens, in getFunction()
8576 CachedTokens &Toks) { in MarkAsLateParsedTemplate()
397 CachedTokens *Toks = chunk.Fun.Params[argIdx].DefaultArgTokens; in CheckExtraCXXDefaultArguments()