Home
last modified time | relevance | path

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

12

/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/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 …]
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 …]
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 …]
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 …]
DParseDecl.cpp131 ConsumeToken(); in ParseGNUAttributes()
154 SourceLocation AttrNameLoc = ConsumeToken(); in ParseGNUAttributes()
238 ConsumeToken(); in ParseIdentifierLoc()
300 ConsumeToken(); in ParseAttributeArgsCommon()
452 ConsumeToken(); in ParseMicrosoftDeclSpecArgs()
468 ConsumeToken(); in ParseMicrosoftDeclSpecArgs()
491 ConsumeToken(); in ParseMicrosoftDeclSpecArgs()
541 ConsumeToken(); in ParseMicrosoftDeclSpecs()
578 AttrNameLoc = ConsumeToken(); in ParseMicrosoftDeclSpecs()
616 SourceLocation AttrNameLoc = ConsumeToken(); in ParseMicrosoftTypeAttributes()
[all …]
DParseTemplate.cpp36 SourceLocation(), ConsumeToken(), in ParseDeclarationStartingWithTemplate()
213 DeclEnd = ConsumeToken(); in ParseSingleDeclarationAfterTemplate()
241 ConsumeToken(); in ParseSingleDeclarationAfterTemplate()
385 ConsumeToken(); in ParseTemplateParameterList()
508 SourceLocation KeyLoc = ConsumeToken(); in ParseTypeParameter()
524 NameLoc = ConsumeToken(); in ParseTypeParameter()
569 SourceLocation TemplateLoc = ConsumeToken(); in ParseTemplateTemplateParameter()
605 ConsumeToken(); in ParseTemplateTemplateParameter()
621 NameLoc = ConsumeToken(); in ParseTemplateTemplateParameter()
770 ConsumeToken(); in ParseGreaterThanInTemplateList()
[all …]
DParsePragma.cpp325 SourceLocation UnusedLoc = ConsumeToken(); in HandlePragmaUnused()
327 ConsumeToken(); // The argument token. in HandlePragmaUnused()
334 SourceLocation VisLoc = ConsumeToken(); in HandlePragmaVisibility()
350 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaPack()
366 ConsumeToken(); // The annotation token. in HandlePragmaMSStruct()
374 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaAlign()
383 ConsumeToken(); in HandlePragmaDump()
388 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaWeak()
391 ConsumeToken(); // The weak name. in HandlePragmaWeak()
396 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaWeakAlias()
[all …]
DParseStmtAsm.cpp239 ConsumeToken(); // Consume the period. in ParseMSAsmIdentifier()
241 ConsumeToken(); // Consume the identifier. in ParseMSAsmIdentifier()
272 ConsumeToken(); in ParseMSAsmIdentifier()
671 SourceLocation AsmLoc = ConsumeToken(); in ParseAsmStatement()
744 ConsumeToken(); in ParseAsmStatement()
759 ConsumeToken(); in ParseAsmStatement()
774 ConsumeToken(); in ParseAsmStatement()
831 ConsumeToken(); in ParseAsmOperandsOpt()
/external/tensorflow/tensorflow/contrib/lite/testing/
Dtokenize.cc35 processor->ConsumeToken(&current_token); in Tokenize()
44 processor->ConsumeToken(&current_token); in Tokenize()
49 processor->ConsumeToken(&current_token); in Tokenize()
Dtokenize.h30 virtual void ConsumeToken(std::string* token) = 0;
Dmessage.cc36 void ConsumeToken(std::string* token) override { in ConsumeToken() function in tflite::testing::MessageStack
/external/antlr/antlr-3.4/runtime/CSharp2/Sources/Antlr3.Runtime/Antlr.Runtime.Debug/
DDebugEventRepeater.cs80 public virtual void ConsumeToken(IToken token) { in ConsumeToken() method in Antlr.Runtime.Debug.DebugEventRepeater
81 _listener.ConsumeToken(token); in ConsumeToken()
DIDebugEventListener.cs99 void ConsumeToken(IToken t); in ConsumeToken() method
DDebugEventHub.cs128 public virtual void ConsumeToken(IToken token) { in ConsumeToken() method in Antlr.Runtime.Debug.DebugEventHub
131 listener.ConsumeToken(token); in ConsumeToken()
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime.Debug/
DDebugEventRepeater.cs92 public virtual void ConsumeToken( IToken token ) in ConsumeToken() method in Antlr.Runtime.Debug.DebugEventRepeater
94 _listener.ConsumeToken( token ); in ConsumeToken()
DDebugEventHub.cs149 public virtual void ConsumeToken( IToken token ) in ConsumeToken() method in Antlr.Runtime.Debug.DebugEventHub
154 listener.ConsumeToken( token ); in ConsumeToken()
/external/clang/include/clang/AST/
DCommentBriefParser.h38 SourceLocation ConsumeToken() { in ConsumeToken() function
/external/antlr/antlr-3.4/runtime/CSharp3/Sources/Antlr3.Runtime/Debug/
DIDebugEventListener.cs101 void ConsumeToken( IToken t ); in ConsumeToken() method

12