Home
last modified time | relevance | path

Searched refs:SkipUntil (Results 1 – 16 of 16) sorted by relevance

/external/clang/lib/Parse/
DParseOpenMP.cpp81 SkipUntil(tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPDeclarativeDirective()
116 SkipUntil(tok::annot_pragma_openmp_end); in ParseOpenMPDeclarativeDirective()
161 SkipUntil(tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPDeclarativeOrExecutableDirective()
167 SkipUntil(tok::annot_pragma_openmp_end); in ParseOpenMPDeclarativeOrExecutableDirective()
274 SkipUntil(tok::annot_pragma_openmp_end); in ParseOpenMPDeclarativeOrExecutableDirective()
310 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end, in ParseOpenMPSimpleVarList()
315 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end, in ParseOpenMPSimpleVarList()
320 SkipUntil(tok::comma, tok::r_paren, tok::annot_pragma_openmp_end, in ParseOpenMPSimpleVarList()
456 SkipUntil(tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPClause()
461 SkipUntil(tok::comma, tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPClause()
[all …]
DParseDeclCXX.cpp110 SkipUntil(tok::semi); in ParseNamespace()
135 SkipUntil(tok::r_brace); in ParseNamespace()
148 SkipUntil(tok::r_brace, StopBeforeMatch); in ParseNamespace()
269 SkipUntil(tok::semi); in ParseNamespaceAlias()
280 SkipUntil(tok::semi); in ParseNamespaceAlias()
448 SkipUntil(tok::semi); in ParseUsingDirective()
469 SkipUntil(tok::semi); in ParseUsingDirective()
508 SkipUntil(tok::semi); in ParseUsingDeclaration()
521 SkipUntil(tok::semi); in ParseUsingDeclaration()
550 SkipUntil(tok::semi); in ParseUsingDeclaration()
[all …]
DParseObjc.cpp85 SkipUntil(tok::semi); in ParseObjCAtDirectives()
89 SkipUntil(tok::semi); in ParseObjCAtDirectives()
111 SkipUntil(tok::semi); in ParseObjCAtClassDeclaration()
341 SkipUntil(tok::at, StopAtSemi | StopBeforeMatch); in ParseObjCInterfaceDeclList()
399 SkipUntil(tok::semi); in ParseObjCInterfaceDeclList()
414 SkipUntil(tok::r_brace, tok::at, StopAtSemi); in ParseObjCInterfaceDeclList()
581 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCPropertyAttribute()
600 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCPropertyAttribute()
610 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCPropertyAttribute()
619 SkipUntil(tok::r_paren, StopAtSemi); in ParseObjCPropertyAttribute()
[all …]
DParseStmt.cpp193 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseStatementOrDeclarationAfterAttributes()
372 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseStatementOrDeclarationAfterAttributes()
389 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseExprStatement()
668 if (SkipUntil(tok::colon, tok::r_brace, StopAtSemi | StopBeforeMatch)) { in ParseCaseStatement()
686 if (SkipUntil(tok::colon, tok::r_brace, StopAtSemi | StopBeforeMatch)) { in ParseCaseStatement()
987 SkipUntil(tok::semi); in ParseCompoundStatementBody()
1049 SkipUntil(tok::semi); in ParseParenExprOrCondition()
1085 SkipUntil(tok::semi); in ParseIfStatement()
1209 SkipUntil(tok::semi); in ParseSwitchStatement()
1248 SkipUntil(tok::r_brace); in ParseSwitchStatement()
[all …]
DParseExpr.cpp1416 SkipUntil(tok::greatergreatergreater, StopAtSemi); in ParsePostfixExpressionSuffix()
1421 SkipUntil(tok::greatergreatergreater, StopAtSemi); in ParsePostfixExpressionSuffix()
1472 SkipUntil(tok::r_paren, StopAtSemi); in ParsePostfixExpressionSuffix()
1729 SkipUntil(tok::r_paren, StopAtSemi); in ParseUnaryExprOrTypeTraitExpression()
1836 SkipUntil(tok::r_paren, StopAtSemi); in ParseBuiltinPrimaryExpression()
1857 SkipUntil(tok::r_paren, StopAtSemi); in ParseBuiltinPrimaryExpression()
1862 SkipUntil(tok::r_paren, StopAtSemi); in ParseBuiltinPrimaryExpression()
1869 SkipUntil(tok::r_paren, StopAtSemi); in ParseBuiltinPrimaryExpression()
1891 SkipUntil(tok::r_paren, StopAtSemi); in ParseBuiltinPrimaryExpression()
1909 SkipUntil(tok::r_paren, StopAtSemi); in ParseBuiltinPrimaryExpression()
[all …]
DParseInit.cpp229 SkipUntil(tok::r_square, StopAtSemi); in ParseInitializerWithPotentialDesignator()
270 SkipUntil(tok::r_square, StopAtSemi); in ParseInitializerWithPotentialDesignator()
297 SkipUntil(tok::r_square, StopAtSemi); in ParseInitializerWithPotentialDesignator()
325 SkipUntil(tok::r_square, StopAtSemi); in ParseInitializerWithPotentialDesignator()
444 SkipUntil(tok::r_brace, StopBeforeMatch); in ParseBraceInitializer()
DParser.cpp232 bool Parser::SkipUntil(ArrayRef<tok::TokenKind> Toks, SkipUntilFlags Flags) { in SkipUntil() function in Parser
284 SkipUntil(tok::r_paren, StopAtCodeCompletion); in SkipUntil()
286 SkipUntil(tok::r_paren); in SkipUntil()
292 SkipUntil(tok::r_square, StopAtCodeCompletion); in SkipUntil()
294 SkipUntil(tok::r_square); in SkipUntil()
300 SkipUntil(tok::r_brace, StopAtCodeCompletion); in SkipUntil()
302 SkipUntil(tok::r_brace); in SkipUntil()
864 SkipUntil(tok::semi); // FIXME: better skip? in ParseDeclOrFunctionDefInternal()
963 SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch); in ParseFunctionDefinition()
1072 SkipUntil(tok::semi); in ParseFunctionDefinition()
[all …]
DParseTentative.cpp162 if (!SkipUntil(tok::r_paren)) in TryConsumeDeclarationSpecifier()
186 if (!SkipUntil(tok::r_square)) in TryConsumeDeclarationSpecifier()
193 if (!SkipUntil(tok::r_paren)) in TryConsumeDeclarationSpecifier()
299 if (!SkipUntil(tok::r_paren, StopAtSemi)) in TryParseInitDeclaratorList()
521 bool IsAttribute = SkipUntil(tok::r_square); in isCXX11AttributeSpecifier()
593 if (!SkipUntil(tok::r_paren)) { in isCXX11AttributeSpecifier()
1545 if (!SkipUntil(tok::r_paren, StopAtSemi)) in TryParseTypeofSpecifier()
1739 if (!SkipUntil(tok::comma, tok::r_paren, StopAtSemi | StopBeforeMatch)) in TryParseParameterDeclarationClause()
1782 if (!SkipUntil(tok::r_paren, StopAtSemi)) in TryParseFunctionDeclarator()
1803 if (!SkipUntil(tok::r_paren, StopAtSemi)) in TryParseFunctionDeclarator()
[all …]
DParseDecl.cpp132 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ; in ParseGNUAttributes()
136 SkipUntil(tok::r_paren, StopAtSemi); // skip until ) or ; in ParseGNUAttributes()
187 SkipUntil(tok::r_paren, StopAtSemi); in ParseGNUAttributes()
190 SkipUntil(tok::r_paren, StopAtSemi); in ParseGNUAttributes()
310 SkipUntil(tok::r_paren, StopAtSemi); in ParseAttributeArgsCommon()
392 SkipUntil(tok::r_paren); in ParseMicrosoftDeclSpecArgs()
697 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
726 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
747 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
776 SkipUntil(tok::comma, tok::r_paren, in ParseVersionTuple()
[all …]
DParseTemplate.cpp119 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseTemplateDeclarationOrSpecialization()
222 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseSingleDeclarationAfterTemplate()
292 SkipUntil(tok::semi); in ParseSingleDeclarationAfterTemplate()
362 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList()
377 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateParameterList()
637 SkipUntil(tok::comma, tok::greater, tok::greatergreater, in ParseTemplateTemplateParameter()
691 SkipUntil(tok::comma, tok::greater, StopAtSemi | StopBeforeMatch); in ParseNonTypeTemplateParameter()
881 SkipUntil(tok::greater, StopAtSemi); in ParseTemplateIdAfterTemplateName()
883 SkipUntil(tok::greater, StopAtSemi | StopBeforeMatch); in ParseTemplateIdAfterTemplateName()
1241 SkipUntil(tok::comma, tok::greater, StopAtSemi | StopBeforeMatch); in ParseTemplateArgumentList()
DParseExprCXX.cpp723 SkipUntil(tok::r_square, StopAtSemi); in ParseLambdaExpression()
724 SkipUntil(tok::l_brace, StopAtSemi); in ParseLambdaExpression()
725 SkipUntil(tok::r_brace, StopAtSemi); in ParseLambdaExpression()
1379 SkipUntil(tok::r_paren, StopAtSemi); in ParseCXXTypeid()
1429 SkipUntil(tok::r_paren, StopAtSemi); in ParseCXXUuidof()
1616 SkipUntil(tok::r_paren, StopAtSemi); in ParseCXXTypeConstructExpression()
1702 SkipUntil(tok::semi, StopAtSemi); in ParseCXXCondition()
1734 if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) in ParseCXXCondition()
2630 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
2637 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
[all …]
DParseStmtAsm.cpp640 SkipUntil(tok::r_paren, StopAtSemi); in ParseAsmStatement()
754 SkipUntil(tok::r_paren, StopAtSemi); in ParseAsmOperandsOpt()
768 SkipUntil(tok::r_paren, StopAtSemi); in ParseAsmOperandsOpt()
775 SkipUntil(tok::r_paren, StopAtSemi); in ParseAsmOperandsOpt()
785 SkipUntil(tok::r_paren, StopAtSemi); in ParseAsmOperandsOpt()
DParseCXXInlineMethods.cpp66 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
97 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
100 SkipUntil(tok::semi); in ParseCXXInlineMethodDef()
975 Self.SkipUntil(EndKind, StopAtSemi | StopBeforeMatch); in RevertAnnotations()
/external/clang/include/clang/Parse/
DParser.h840 bool SkipUntil(tok::TokenKind T,
842 return SkipUntil(llvm::makeArrayRef(T), Flags);
844 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2,
847 return SkipUntil(TokArray, Flags);
849 bool SkipUntil(tok::TokenKind T1, tok::TokenKind T2, tok::TokenKind T3,
852 return SkipUntil(TokArray, Flags);
854 bool SkipUntil(ArrayRef<tok::TokenKind> Toks,
/external/protobuf/gtest/scripts/
Dpump.py260 def SkipUntil(lines, pos, regex, token_type): function
280 pos = SkipUntil(lines, pos, r'\(|\)', ')')
349 dots_pos = SkipUntil(lines, pos, DOT_DOT_REGEX, '..')
/external/google-breakpad/src/testing/gtest/scripts/
Dpump.py270 def SkipUntil(lines, pos, regex, token_type): function
290 pos = SkipUntil(lines, pos, r'\(|\)', ')')
355 dots_pos = SkipUntil(lines, pos, DOT_DOT_REGEX, '..')