Home
last modified time | relevance | path

Searched refs:ConsumeToken (Results 1 – 25 of 36) 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 ConsumeToken(), in ParseInitializerWithPotentialDesignator()
261 ConsumeToken(), in ParseInitializerWithPotentialDesignator()
267 ConsumeToken(); // the identifier in ParseInitializerWithPotentialDesignator()
335 SourceLocation EllipsisLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
360 SourceLocation EqualLoc = ConsumeToken(); in ParseInitializerWithPotentialDesignator()
422 ConsumeToken(); in ParseBraceInitializer()
[all …]
DParseOpenMP.cpp76 P.ConsumeToken(); in ParseOpenMPDirectiveKind()
93 SourceLocation Loc = ConsumeToken(); in ParseOpenMPDeclarativeDirective()
99 ConsumeToken(); in ParseOpenMPDeclarativeDirective()
109 ConsumeToken(); in ParseOpenMPDeclarativeDirective()
178 SourceLocation Loc = ConsumeToken(), EndLoc; in ParseOpenMPDeclarativeOrExecutableDirective()
189 ConsumeToken(); in ParseOpenMPDeclarativeOrExecutableDirective()
244 ConsumeToken(); in ParseOpenMPDeclarativeOrExecutableDirective()
262 ConsumeToken(); in ParseOpenMPDeclarativeOrExecutableDirective()
290 ConsumeToken(); in ParseOpenMPDeclarativeOrExecutableDirective()
296 ConsumeToken(); in ParseOpenMPDeclarativeOrExecutableDirective()
[all …]
DParseTentative.cpp151 ConsumeToken(); in TryConsumeDeclarationSpecifier()
158 ConsumeToken(); in TryConsumeDeclarationSpecifier()
179 ConsumeToken(); in TryConsumeDeclarationSpecifier()
189 ConsumeToken(); in TryConsumeDeclarationSpecifier()
203 ConsumeToken(); in TryConsumeDeclarationSpecifier()
206 ConsumeToken(); in TryConsumeDeclarationSpecifier()
210 ConsumeToken(); in TryConsumeDeclarationSpecifier()
213 ConsumeToken(); in TryConsumeDeclarationSpecifier()
582 ConsumeToken(); in isCXX11AttributeSpecifier()
633 ConsumeToken(); in TryParsePtrOperatorSeq()
[all …]
DParseStmt.cpp164 AtLoc = ConsumeToken(); // consume @ in ParseStatementOrDeclarationAfterAttributes()
192 ConsumeToken(); in ParseStatementOrDeclarationAfterAttributes()
229 return Actions.ActOnNullStmt(ConsumeToken(), HasLeadingEmptyMacro); in ParseStatementOrDeclarationAfterAttributes()
335 ConsumeToken(); in ParseStatementOrDeclarationAfterAttributes()
397 ConsumeToken(); in ParseExprStatement()
428 SourceLocation TryLoc = ConsumeToken(); in ParseSEHTryBlock()
441 SourceLocation Loc = ConsumeToken(); in ParseSEHTryBlock()
444 SourceLocation Loc = ConsumeToken(); in ParseSEHTryBlock()
542 SourceLocation LeaveLoc = ConsumeToken(); // eat the '__leave'. in ParseSEHLeaveStatement()
557 ConsumeToken(); // eat the identifier. in ParseLabeledStatement()
[all …]
DParseObjc.cpp48 SourceLocation AtLoc = ConsumeToken(); // the "@" in ParseObjCAtDirectives()
128 ConsumeToken(); // the identifier "class" in ParseObjCAtClassDeclaration()
142 ConsumeToken(); in ParseObjCAtClassDeclaration()
216 ConsumeToken(); // the "interface" identifier in ParseObjCAtInterfaceDeclaration()
235 SourceLocation nameLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
265 categoryLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
318 ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
333 superClassLoc = ConsumeToken(); in ParseObjCAtInterfaceDeclaration()
479 lAngleLoc = ConsumeToken(); in parseObjCTypeParamListOrProtocolRefs()
489 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()
734 ConsumeToken(); in ParseCastExpression()
747 return Actions.ActOnCXXNullPtrLiteral(ConsumeToken()); in ParseCastExpression()
752 ConsumeToken(); in ParseCastExpression()
866 SourceLocation ILoc = ConsumeToken(); in ParseCastExpression()
873 ConsumeToken(); in ParseCastExpression()
882 SourceLocation PropertyLoc = ConsumeToken(); in ParseCastExpression()
977 ConsumeToken(); in ParseCastExpression()
986 ConsumeToken(); in ParseCastExpression()
1005 return Actions.ActOnGNUNullExpr(ConsumeToken()); in ParseCastExpression()
[all …]
DParseCXXInlineMethods.cpp202 ConsumeToken(); in ParseCXXNonStaticMemberInitializer()
335 SourceLocation EqualLoc = ConsumeToken(); in ParseLexedMethodDeclaration()
747 ConsumeToken(); in ConsumeAndStoreUntil()
763 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
784 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
802 SourceLocation OpenLoc = ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
818 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
822 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
828 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
897 ConsumeToken(); in ConsumeAndStoreFunctionPrologue()
[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 …]
DParser.cpp192 ConsumeToken(); // The ';'. in ExpectAndConsumeSemi()
205 ConsumeToken(); in ConsumeExtraSemi()
210 ConsumeToken(); in ConsumeExtraSemi()
361 ConsumeToken(); in SkipUntil()
528 ConsumeToken(); in Initialize()
546 ConsumeToken(); in ParseTopLevelDecl()
558 ConsumeToken(); in ParseTopLevelDecl()
564 ConsumeToken(); in ParseTopLevelDecl()
570 ConsumeToken(); in ParseTopLevelDecl()
688 ConsumeToken(); in ParseExternalDeclaration()
[all …]
DParseDecl.cpp130 ConsumeToken(); in ParseGNUAttributes()
153 SourceLocation AttrNameLoc = ConsumeToken(); in ParseGNUAttributes()
237 ConsumeToken(); in ParseIdentifierLoc()
299 ConsumeToken(); in ParseAttributeArgsCommon()
451 ConsumeToken(); in ParseMicrosoftDeclSpecArgs()
467 ConsumeToken(); in ParseMicrosoftDeclSpecArgs()
490 ConsumeToken(); in ParseMicrosoftDeclSpecArgs()
540 ConsumeToken(); in ParseMicrosoftDeclSpecs()
577 AttrNameLoc = ConsumeToken(); in ParseMicrosoftDeclSpecs()
616 SourceLocation AttrNameLoc = ConsumeToken(); in ParseMicrosoftTypeAttributes()
[all …]
DParseTemplate.cpp36 SourceLocation(), ConsumeToken(), in ParseDeclarationStartingWithTemplate()
212 DeclEnd = ConsumeToken(); in ParseSingleDeclarationAfterTemplate()
236 ConsumeToken(); in ParseSingleDeclarationAfterTemplate()
380 ConsumeToken(); in ParseTemplateParameterList()
503 SourceLocation KeyLoc = ConsumeToken(); in ParseTypeParameter()
519 NameLoc = ConsumeToken(); in ParseTypeParameter()
564 SourceLocation TemplateLoc = ConsumeToken(); in ParseTemplateTemplateParameter()
600 ConsumeToken(); in ParseTemplateTemplateParameter()
616 NameLoc = ConsumeToken(); in ParseTemplateTemplateParameter()
766 ConsumeToken(); in ParseGreaterThanInTemplateList()
[all …]
DParsePragma.cpp324 SourceLocation UnusedLoc = ConsumeToken(); in HandlePragmaUnused()
326 ConsumeToken(); // The argument token. in HandlePragmaUnused()
333 SourceLocation VisLoc = ConsumeToken(); in HandlePragmaVisibility()
351 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaPack()
368 ConsumeToken(); // The annotation token. in HandlePragmaMSStruct()
376 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaAlign()
382 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaWeak()
385 ConsumeToken(); // The weak name. in HandlePragmaWeak()
390 SourceLocation PragmaLoc = ConsumeToken(); in HandlePragmaWeakAlias()
393 ConsumeToken(); in HandlePragmaWeakAlias()
[all …]
DParseStmtAsm.cpp241 ConsumeToken(); // Consume the period. in ParseMSAsmIdentifier()
243 ConsumeToken(); // Consume the identifier. in ParseMSAsmIdentifier()
275 ConsumeToken(); in ParseMSAsmIdentifier()
633 SourceLocation AsmLoc = ConsumeToken(); in ParseAsmStatement()
699 ConsumeToken(); in ParseAsmStatement()
714 ConsumeToken(); in ParseAsmStatement()
729 ConsumeToken(); in ParseAsmStatement()
786 ConsumeToken(); in ParseAsmOperandsOpt()
/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()
DBlankDebugEventListener.cs83 public virtual void ConsumeToken( IToken token ) in ConsumeToken() method in Antlr.Runtime.Debug.BlankDebugEventListener
DDebugEventHub.cs149 public virtual void ConsumeToken( IToken token ) in ConsumeToken() method in Antlr.Runtime.Debug.DebugEventHub
154 listener.ConsumeToken( token ); in ConsumeToken()
/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
DBlankDebugEventListener.cs71 public virtual void ConsumeToken(IToken token) { in ConsumeToken() method in Antlr.Runtime.Debug.BlankDebugEventListener
DDebugEventHub.cs128 public virtual void ConsumeToken(IToken token) { in ConsumeToken() method in Antlr.Runtime.Debug.DebugEventHub
131 listener.ConsumeToken(token); in ConsumeToken()
DParseTreeBuilder.cs100 public override void ConsumeToken(IToken token) { in ConsumeToken() method in Antlr.Runtime.Debug.ParseTreeBuilder
/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