Home
last modified time | relevance | path

Searched refs:CachedTokens (Results 1 – 18 of 18) sorted by relevance

/external/clang/lib/Lex/
DPPCaching.cpp52 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 …]
DPPLexerChange.cpp195 if (CachedLexPos < CachedTokens.size()) { in EnterTokenStream()
198 CachedTokens.insert(CachedTokens.begin() + CachedLexPos, in EnterTokenStream()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp123 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 …]
DParseOpenMP.cpp495 CachedTokens &Toks, SourceLocation Loc) { in ParseOMPDeclareSimdClauses()
596 CachedTokens Toks; in ParseOpenMPDeclarativeDirectiveWithExtDecl()
DParser.cpp1053 CachedTokens Toks; in ParseFunctionDefinition()
1186 CachedTokens Skipped; in SkipFunctionBody()
DParseTemplate.cpp1421 void Parser::LexTemplateFunctionForLateParsing(CachedTokens &Toks) { in LexTemplateFunctionForLateParsing()
DParseExprCXX.cpp1180 CachedTokens *ExceptionSpecTokens; in ParseLambdaExpressionAfterIntroducer()
3130 CachedTokens Toks; in ParseCXXAmbiguousParenExpression()
DParseDecl.cpp5598 CachedTokens *ExceptionSpecTokens = nullptr; in ParseFunctionDeclarator()
5926 CachedTokens *DefArgToks = nullptr; in ParseParameterDeclarationClause()
5963 DefArgToks = new CachedTokens; in ParseParameterDeclarationClause()
DParseDeclCXX.cpp3353 CachedTokens *&ExceptionSpecTokens) { in tryParseExceptionSpecification()
3381 ExceptionSpecTokens = new CachedTokens; in tryParseExceptionSpecification()
DParseStmt.cpp2012 CachedTokens Toks; in trySkippingFunctionBody()
DParseObjc.cpp2667 CachedTokens &Toks = LM->Toks; in StashAwayMethodOrFunctionBodyTokens()
/external/clang/include/clang/Parse/
DParser.h954 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 …]
/external/clang/include/clang/Lex/
DPreprocessor.h619 CachedTokensTy CachedTokens; variable
1154 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()
/external/clang/include/clang/Sema/
DDeclSpec.h1095 typedef SmallVector<Token, 4> CachedTokens; typedef
1189 CachedTokens *DefaultArgTokens;
1194 CachedTokens *DefArgTokens = nullptr)
1300 CachedTokens *ExceptionSpecTokens;
1545 CachedTokens *ExceptionSpecTokens,
DSema.h5437 CachedTokens &Toks);
9640 CachedTokens Toks;
/external/clang/lib/Sema/
DDeclSpec.cpp175 CachedTokens *ExceptionSpecTokens, in getFunction()
DSemaTemplate.cpp8576 CachedTokens &Toks) { in MarkAsLateParsedTemplate()
DSemaDeclCXX.cpp397 CachedTokens *Toks = chunk.Fun.Params[argIdx].DefaultArgTokens; in CheckExtraCXXDefaultArguments()