Home
last modified time | relevance | path

Searched refs:ConsumeToken (Results 1 – 25 of 63) sorted by relevance

123

/external/clang/lib/AST/
DCommentBriefParser.cpp61 ConsumeToken(); in BriefParser()
77 ConsumeToken(); in Parse()
86 ConsumeToken(); in Parse()
94 ConsumeToken(); in Parse()
111 ConsumeToken(); in Parse()
120 ConsumeToken(); in Parse()
124 ConsumeToken(); in Parse()
141 ConsumeToken(); in Parse()
/external/llvm-project/clang/lib/AST/
DCommentBriefParser.cpp59 ConsumeToken(); in BriefParser()
75 ConsumeToken(); in Parse()
84 ConsumeToken(); in Parse()
92 ConsumeToken(); in Parse()
109 ConsumeToken(); in Parse()
118 ConsumeToken(); in Parse()
122 ConsumeToken(); in Parse()
139 ConsumeToken(); in Parse()
/external/clang/lib/Parse/
DParseInit.cpp144 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator()
147 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
168 SourceLocation DotLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
177 ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator()
220 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator()
259 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator()
263 ConsumeToken(); // the identifier in ParseInitializerWithPotentialDesignator()
329 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
354 SourceLocation EqualLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
416 ConsumeToken(); in ParseBraceInitializer()
[all …]
DParseStmt.cpp171 AtLoc = ConsumeToken(); // consume @ in ParseStatementOrDeclarationAfterAttributes()
199 ConsumeToken(); in ParseStatementOrDeclarationAfterAttributes()
237 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
343 ConsumeToken(); in ParseStatementOrDeclarationAfterAttributes()
409 ConsumeToken(); in ParseExprStatement()
440 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock()
453 SourceLocation Loc = ConsumeToken(); in ParseSEHTryBlock()
456 SourceLocation Loc = ConsumeToken(); in ParseSEHTryBlock()
554 SourceLocation LeaveLoc = ConsumeToken(); // eat the '__leave'. in ParseSEHLeaveStatement()
569 ConsumeToken(); // eat the identifier. in ParseLabeledStatement()
[all …]
DParseTentative.cpp152 ConsumeToken(); in TryConsumeDeclarationSpecifier()
159 ConsumeToken(); in TryConsumeDeclarationSpecifier()
180 ConsumeToken(); in TryConsumeDeclarationSpecifier()
190 ConsumeToken(); in TryConsumeDeclarationSpecifier()
204 ConsumeToken(); in TryConsumeDeclarationSpecifier()
207 ConsumeToken(); in TryConsumeDeclarationSpecifier()
211 ConsumeToken(); in TryConsumeDeclarationSpecifier()
214 ConsumeToken(); in TryConsumeDeclarationSpecifier()
653 ConsumeToken(); in isCXX11AttributeSpecifier()
702 ConsumeToken(); in TryParsePtrOperatorSeq()
[all …]
DParseOpenMP.cpp135 P.ConsumeToken(); in ParseOpenMPDirectiveKind()
150 P.ConsumeToken(); in parseOpenMPReductionId()
188 P.ConsumeToken(); in parseOpenMPReductionId()
311 ConsumeToken(); in ParseOpenMPDeclareReductionDirective()
444 P.ConsumeToken(); in parseDeclareSimdClauses()
451 P.ConsumeToken(); in parseDeclareSimdClauses()
467 P.ConsumeToken(); in parseDeclareSimdClauses()
487 P.ConsumeToken(); in parseDeclareSimdClauses()
522 SourceLocation EndLoc = ConsumeToken(); in ParseOMPDeclareSimdClauses()
552 SourceLocation Loc = ConsumeToken(); in ParseOpenMPDeclarativeDirectiveWithExtDecl()
[all …]
DParseObjc.cpp49 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseObjCAtDirectives()
133 ConsumeToken(); // the identifier "class" in ParseObjCAtClassDeclaration()
147 ConsumeToken(); in ParseObjCAtClassDeclaration()
221 ConsumeToken(); // the "interface" identifier in ParseObjCAtInterfaceDeclaration()
240 SourceLocation nameLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
270 categoryLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
323 ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
338 superClassLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
473 lAngleLoc = ConsumeToken(); in parseObjCTypeParamListOrProtocolRefs()
483 varianceLoc = ConsumeToken(); in parseObjCTypeParamListOrProtocolRefs()
[all …]
DParseExprCXX.cpp128 ConsumeToken(); in CheckForLParenAfterColonColon()
130 ConsumeToken(); in CheckForLParenAfterColonColon()
202 ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
234 Diag(ConsumeToken(), diag::err_expected) << tok::identifier; in ParseOptionalCXXScopeSpecifier()
237 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
247 SourceLocation SuperLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
253 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
315 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
321 ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
389 ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
[all …]
DParseExpr.cpp264 ConsumeToken(); in ParseRHSOfBinaryExpression()
747 ConsumeToken(); in ParseCastExpression()
760 return Actions.ActOnCXXNullPtrLiteral(ConsumeToken()); in ParseCastExpression()
765 ConsumeToken(); in ParseCastExpression()
880 SourceLocation ILoc = ConsumeToken(); in ParseCastExpression()
887 ConsumeToken(); in ParseCastExpression()
896 SourceLocation PropertyLoc = ConsumeToken(); in ParseCastExpression()
991 ConsumeToken(); in ParseCastExpression()
1000 ConsumeToken(); in ParseCastExpression()
1019 return Actions.ActOnGNUNullExpr(ConsumeToken()); in ParseCastExpression()
[all …]
DParseCXXInlineMethods.cpp209 ConsumeToken(); in ParseCXXNonStaticMemberInitializer()
342 SourceLocation EqualLoc = ConsumeToken(); in ParseLexedMethodDeclaration()
756 ConsumeToken(); in ConsumeAndStoreUntil()
772 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
793 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
811 SourceLocation OpenLoc = ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
827 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
831 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
837 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
906 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
[all …]
DParser.cpp192 ConsumeToken(); // The ';'. in ExpectAndConsumeSemi()
205 ConsumeToken(); in ConsumeExtraSemi()
210 ConsumeToken(); in ConsumeExtraSemi()
361 ConsumeToken(); in SkipUntil()
530 ConsumeToken(); in Initialize()
548 ConsumeToken(); in ParseTopLevelDecl()
560 ConsumeToken(); in ParseTopLevelDecl()
566 ConsumeToken(); in ParseTopLevelDecl()
572 ConsumeToken(); in ParseTopLevelDecl()
695 ConsumeToken(); in ParseExternalDeclaration()
[all …]
DParseDeclCXX.cpp62 SourceLocation NamespaceLoc = ConsumeToken(); // eat the 'namespace'. in ParseNamespace()
89 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
91 ExtraNamespaceLoc.push_back(ConsumeToken()); in ParseNamespace()
93 ExtraIdentLoc.push_back(ConsumeToken()); in ParseNamespace()
260 ConsumeToken(); // eat the '='. in ParseNamespaceAlias()
281 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias()
389 SourceLocation UsingLoc = ConsumeToken(); in ParseUsingDirectiveOrDeclaration()
435 SourceLocation NamespcLoc = ConsumeToken(); in ParseUsingDirective()
461 IdentLoc = ConsumeToken(); in ParseUsingDirective()
549 SourceLocation IdLoc = ConsumeToken(); in ParseUsingDeclaration()
[all …]
/external/llvm-project/clang/lib/Parse/
DParseInit.cpp175 SourceLocation NameLoc = ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator()
178 SourceLocation ColonLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
199 SourceLocation DotLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
213 ConsumeToken(); // Eat the identifier. in ParseInitializerWithPotentialDesignator()
256 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator()
295 StartLoc, ConsumeToken(), nullptr, nullptr); in ParseInitializerWithPotentialDesignator()
299 ConsumeToken(); // the identifier in ParseInitializerWithPotentialDesignator()
365 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
390 SourceLocation EqualLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
467 ConsumeToken(); in ParseBraceInitializer()
[all …]
DParseObjc.cpp50 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseObjCAtDirectives()
132 ConsumeToken(); // the identifier "class" in ParseObjCAtClassDeclaration()
145 ConsumeToken(); in ParseObjCAtClassDeclaration()
218 ConsumeToken(); // the "interface" identifier in ParseObjCAtInterfaceDeclaration()
234 SourceLocation nameLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
264 categoryLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
307 ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
319 superClassLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
448 lAngleLoc = ConsumeToken(); in parseObjCTypeParamListOrProtocolRefs()
458 varianceLoc = ConsumeToken(); in parseObjCTypeParamListOrProtocolRefs()
[all …]
DParseStmt.cpp169 AtLoc = ConsumeToken(); // consume @ in ParseStatementOrDeclarationAfterAttributes()
196 ConsumeToken(); in ParseStatementOrDeclarationAfterAttributes()
251 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
453 ConsumeToken(); in ParseExprStatement()
484 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock()
498 SourceLocation Loc = ConsumeToken(); in ParseSEHTryBlock()
501 SourceLocation Loc = ConsumeToken(); in ParseSEHTryBlock()
599 SourceLocation LeaveLoc = ConsumeToken(); // eat the '__leave'. in ParseSEHLeaveStatement()
619 ConsumeToken(); // eat the identifier. in ParseLabeledStatement()
624 SourceLocation ColonLoc = ConsumeToken(); in ParseLabeledStatement()
[all …]
DParseTentative.cpp158 ConsumeToken(); in TryConsumeDeclarationSpecifier()
165 ConsumeToken(); in TryConsumeDeclarationSpecifier()
186 ConsumeToken(); in TryConsumeDeclarationSpecifier()
197 ConsumeToken(); in TryConsumeDeclarationSpecifier()
373 P.ConsumeToken(); in markNotExpression()
436 ConsumeToken(); in isEnumBase()
763 ConsumeToken(); in isCXX11AttributeSpecifier()
817 ConsumeToken(); in TrySkipAttributes()
847 ConsumeToken(); in TryParsePtrOperatorSeq()
874 ConsumeToken(); in TryParseOperatorId()
[all …]
DParseExprCXX.cpp192 Diag(ConsumeToken(), diag::err_expected) << tok::identifier; in ParseOptionalCXXScopeSpecifier()
195 if (Actions.ActOnCXXGlobalScopeSpecifier(ConsumeToken(), SS)) in ParseOptionalCXXScopeSpecifier()
203 SourceLocation SuperLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
209 return Actions.ActOnSuperScopeSpecifier(SuperLoc, ConsumeToken(), SS); in ParseOptionalCXXScopeSpecifier()
278 SourceLocation TemplateKWLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
284 ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
351 SourceLocation CCLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
413 ConsumeToken(); // Eat the identifier, current token is now '::'. in ParseOptionalCXXScopeSpecifier()
414 Diag(PP.getLocForEndOfToken(ConsumeToken()), diag::err_expected) in ParseOptionalCXXScopeSpecifier()
447 SourceLocation IdLoc = ConsumeToken(); in ParseOptionalCXXScopeSpecifier()
[all …]
DParseOpenMP.cpp193 P.ConsumeToken(); in parseOpenMPDirectiveKind()
209 P.ConsumeToken(); in parseOpenMPReductionId()
248 P.ConsumeToken(); in parseOpenMPReductionId()
372 ConsumeToken(); in ParseOpenMPDeclareReductionDirective()
396 ConsumeToken(); in ParseOpenMPDeclareReductionDirective()
432 ConsumeToken(); in ParseOpenMPReductionInitializerForDecl()
535 ConsumeToken(); in ParseOpenMPDeclareMapperDirective()
596 ConsumeToken(); in ParseOpenMPDeclareMapperDirective()
716 P.ConsumeToken(); in parseDeclareSimdClauses()
723 P.ConsumeToken(); in parseDeclareSimdClauses()
[all …]
DParseExpr.cpp320 SourceLocation LogicalAndLoc = ConsumeToken(); in ParseConstraintLogicalAndExpression()
354 SourceLocation LogicalOrLoc = ConsumeToken(); in ParseConstraintLogicalOrExpression()
414 ConsumeToken(); in ParseRHSOfBinaryExpression()
992 ConsumeToken(); in ParseCastExpression()
1007 Res = Actions.ActOnCXXNullPtrLiteral(ConsumeToken()); in ParseCastExpression()
1149 SourceLocation ILoc = ConsumeToken(); in ParseCastExpression()
1156 ConsumeToken(); in ParseCastExpression()
1171 SourceLocation PropertyLoc = ConsumeToken(); in ParseCastExpression()
1272 ConsumeToken(); in ParseCastExpression()
1282 ConsumeToken(); in ParseCastExpression()
[all …]
DParser.cpp171 ConsumeToken(); // The ';'. in ExpectAndConsumeSemi()
184 ConsumeToken(); in ConsumeExtraSemi()
189 ConsumeToken(); in ConsumeExtraSemi()
358 ConsumeToken(); in SkipUntil()
561 ConsumeToken(); in Initialize()
608 ConsumeToken(); in ParseTopLevelDecl()
833 ConsumeToken(); in ParseExternalDeclaration()
867 ConsumeToken(); in ParseExternalDeclaration()
911 Diag(ConsumeToken(), diag::warn_static_inline_explicit_inst_ignored) in ParseExternalDeclaration()
931 Diag(ConsumeToken(), diag::warn_static_inline_explicit_inst_ignored) in ParseExternalDeclaration()
[all …]
DParseCXXInlineMethods.cpp196 ConsumeToken(); in ParseCXXNonStaticMemberInitializer()
368 SourceLocation EqualLoc = ConsumeToken(); in ParseLexedMethodDeclaration()
888 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
909 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
927 SourceLocation OpenLoc = ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
943 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
947 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
953 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
972 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
1050 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
[all …]
DParseDeclCXX.cpp62 SourceLocation NamespaceLoc = ConsumeToken(); // eat the 'namespace'. in ParseNamespace()
89 IdentLoc = ConsumeToken(); // eat the identifier. in ParseNamespace()
96 Info.NamespaceLoc = ConsumeToken(); in ParseNamespace()
99 Info.InlineLoc = ConsumeToken(); in ParseNamespace()
105 Info.IdentLoc = ConsumeToken(); in ParseNamespace()
283 ConsumeToken(); // eat the '='. in ParseNamespaceAlias()
317 SourceLocation IdentLoc = ConsumeToken(); in ParseNamespaceAlias()
420 SourceLocation ExportLoc = ConsumeToken(); in ParseExportDeclaration()
471 SourceLocation UsingLoc = ConsumeToken(); in ParseUsingDirectiveOrDeclaration()
481 SourceLocation TemplateLoc = ConsumeToken(); in ParseUsingDirectiveOrDeclaration()
[all …]
/external/llvm-project/lldb/source/Plugins/Language/CPlusPlus/
DCPlusPlusNameParser.cpp71 bool CPlusPlusNameParser::ConsumeToken(tok::TokenKind kind) { in ConsumeToken() function in CPlusPlusNameParser
82 template <typename... Ts> bool CPlusPlusNameParser::ConsumeToken(Ts... kinds) { in ConsumeToken() function in CPlusPlusNameParser
145 if (!ConsumeToken(tok::l_paren)) in ParseFuncPtr()
154 if (ConsumeToken(tok::r_paren)) in ParseFuncPtr()
165 if (ConsumeToken(tok::r_paren)) in ParseFuncPtr()
253 if (!ConsumeToken(tok::l_paren)) { in ConsumeAnonymousNamespace()
264 if (!ConsumeToken(tok::kw_namespace)) { in ConsumeAnonymousNamespace()
268 if (!ConsumeToken(tok::r_paren)) { in ConsumeAnonymousNamespace()
277 if (!ConsumeToken(tok::l_brace)) { in ConsumeLambda()
324 if (!ConsumeToken(tok::kw_operator)) in ConsumeOperator()
[all …]
/external/tensorflow/tensorflow/lite/testing/nnapi_tflite_zip_tests/
Dtokenize.cc38 processor->ConsumeToken(&current_token); in Tokenize()
47 processor->ConsumeToken(&current_token); in Tokenize()
52 processor->ConsumeToken(&current_token); in Tokenize()
/external/tensorflow/tensorflow/lite/testing/
Dtokenize.cc37 processor->ConsumeToken(&current_token); in Tokenize()
46 processor->ConsumeToken(&current_token); in Tokenize()
51 processor->ConsumeToken(&current_token); in Tokenize()

123