Searched refs:CachedTokens (Results 1 – 17 of 17) 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 …]
114 CachedTokens Toks; in ParseCXXInlineMethodDef()131 CachedTokens &Toks = LM->Toks; in ParseCXXInlineMethodDef()195 CachedTokens &Toks = MI->Toks; in ParseCXXNonStaticMemberInitializer()312 if (CachedTokens *Toks = LM.DefaultArgs[I].Toks) { in ParseLexedMethodDeclaration()562 CachedTokens &Toks, in ConsumeAndStoreUntil()661 bool Parser::ConsumeAndStoreFunctionPrologue(CachedTokens &Toks) { in ConsumeAndStoreFunctionPrologue()833 bool Parser::ConsumeAndStoreConditional(CachedTokens &Toks) { in ConsumeAndStoreConditional()886 CachedTokens Toks;894 bool Parser::ConsumeAndStoreInitializer(CachedTokens &Toks, in ConsumeAndStoreInitializer()
1364 void Parser::LexTemplateFunctionForLateParsing(CachedTokens &Toks) { in LexTemplateFunctionForLateParsing()
995 CachedTokens Toks; in ParseFunctionDefinition()
5381 CachedTokens *DefArgToks = nullptr; in ParseParameterDeclarationClause()5410 DefArgToks = new CachedTokens; in ParseParameterDeclarationClause()
2941 CachedTokens Toks; in ParseCXXAmbiguousParenExpression()
1980 CachedTokens &Toks = LM->Toks; in StashAwayMethodOrFunctionBodyTokens()
417 CachedTokensTy CachedTokens; variable848 if (CachedLexPos + N < CachedTokens.size()) in LookAhead()849 return CachedTokens[CachedLexPos+N]; in LookAhead()875 CachedTokens.insert(CachedTokens.begin()+CachedLexPos, Tok); in EnterToken()896 return CachedTokens[CachedLexPos-1].getLocation(); in getLastCachedTokenLocation()910 CachedTokens[CachedLexPos-1] = Tok; in ReplaceLastTokenWithAnnotation()918 CachedTokens[CachedLexPos-1] = Tok; in TypoCorrectToken()
88 typedef std::map<ExtensionTokenKey, IdentityTokenCacheValue> CachedTokens; typedef109 const CachedTokens& GetAllCachedTokens();143 CachedTokens token_cache_;
142 CachedTokens::iterator it = token_cache_.find(key); in SetCachedToken()151 CachedTokens::iterator it; in EraseCachedToken()169 const IdentityAPI::CachedTokens& IdentityAPI::GetAllCachedTokens() { in GetAllCachedTokens()
921 CachedTokens Toks;952 CachedTokens Toks;971 CachedTokens *Toks = nullptr)981 CachedTokens *Toks;1014 CachedTokens *ExceptionSpecTokens;1033 CachedTokens Toks;1159 void LexTemplateFunctionForLateParsing(CachedTokens &Toks);1194 bool ConsumeAndStoreFunctionPrologue(CachedTokens &Toks);1195 bool ConsumeAndStoreInitializer(CachedTokens &Toks, CachedInitKind CIK);1196 bool ConsumeAndStoreConditional(CachedTokens &Toks);[all …]
223 extensions::IdentityAPI::CachedTokens tokens = in GetInfoForAllTokens()227 for (extensions::IdentityAPI::CachedTokens::const_iterator in GetInfoForAllTokens()
1040 typedef SmallVector<Token, 4> CachedTokens; typedef1124 CachedTokens *DefaultArgTokens;1129 CachedTokens *DefArgTokens = nullptr)
4936 CachedTokens &Toks);8441 CachedTokens Toks;
3845 for (CachedTokens::iterator TokIt = LPT->Toks.begin(), in WriteLateParsedTemplates()
8155 CachedTokens &Toks) { in MarkAsLateParsedTemplate()
384 CachedTokens *Toks = chunk.Fun.Params[argIdx].DefaultArgTokens; in CheckExtraCXXDefaultArguments()