Home
last modified time | relevance | path

Searched refs:StopBeforeMatch (Results 1 – 15 of 15) sorted by relevance

/src/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp270 Parser::StopBeforeMatch); in parseOpenMPReductionId()
296 SkipUntil(tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPDeclareReductionDirective()
335 StopBeforeMatch); in ParseOpenMPDeclareReductionDirective()
352 SkipUntil(tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPDeclareReductionDirective()
474 SkipUntil(tok::r_paren, tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPReductionInitializerForDecl()
503 SkipUntil(tok::r_paren, tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPReductionInitializerForDecl()
547 SkipUntil(tok::annot_pragma_openmp_end, StopBeforeMatch); in ParseOpenMPDeclareMapperDirective()
584 SkipUntil(tok::annot_pragma_openmp_end, Parser::StopBeforeMatch); in ParseOpenMPDeclareMapperDirective()
591 SkipUntil(tok::annot_pragma_openmp_end, Parser::StopBeforeMatch); in ParseOpenMPDeclareMapperDirective()
1143 StopBeforeMatch)) in parseOMPContextSelector()
[all …]
H A DParseOpenACC.cpp684 Parser::StopBeforeMatch); in ParseOpenACCIntExprList()
698 Parser::StopBeforeMatch); in ParseOpenACCIntExprList()
720 Parser::StopBeforeMatch); in ParseOpenACCDeviceTypeList()
731 Parser::StopBeforeMatch); in ParseOpenACCDeviceTypeList()
766 Parser::StopBeforeMatch); in ParseOpenACCSizeExprList()
775 Parser::StopBeforeMatch); in ParseOpenACCSizeExprList()
822 Parser::StopBeforeMatch); in ParseOpenACCGangArgList()
831 Parser::StopBeforeMatch); in ParseOpenACCGangArgList()
879 Parser::StopBeforeMatch); in ParseOpenACCClauseParams()
1309 SkipUntil(tok::r_paren, tok::annot_pragma_openacc_end, StopBeforeMatch); in ParseOpenACCVarList()
[all …]
H A DParseTemplate.cpp136 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseTemplateDeclarationOrSpecialization()
152 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseTemplateDeclarationOrSpecialization()
410 StopAtSemi | StopBeforeMatch); in ParseTemplateParameterList()
425 StopAtSemi | StopBeforeMatch); in ParseTemplateParameterList()
575 StopAtSemi | StopBeforeMatch); in ParseTemplateParameter()
807 StopAtSemi | StopBeforeMatch); in ParseTemplateTemplateParameter()
889 StopAtSemi | StopBeforeMatch); in ParseTemplateTemplateParameter()
936 SkipUntil(tok::comma, tok::greater, StopAtSemi | StopBeforeMatch); in ParseNonTypeTemplateParameter()
956 SkipUntil(tok::comma, tok::greater, StopAtSemi | StopBeforeMatch); in ParseNonTypeTemplateParameter()
1195 tok::greatergreatergreater, StopAtSemi | StopBeforeMatch); in ParseTemplateIdAfterTemplateName()
[all …]
H A DParseExprCXX.cpp1425 SkipUntil({tok::l_brace, tok::l_paren}, StopAtSemi | StopBeforeMatch); in ParseLambdaExpressionAfterIntroducer()
2290 if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) in ParseCXXCondition()
3303 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
3310 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
3353 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
3388 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
3395 SkipUntil(tok::semi, StopAtSemi | StopBeforeMatch); in ParseCXXNewExpression()
3524 SkipUntil({tok::l_brace, tok::less}, StopBeforeMatch); in ParseCXXDeleteExpression()
3529 SkipUntil(tok::r_brace, StopBeforeMatch); in ParseCXXDeleteExpression()
3676 SkipUntil(tok::semi, tok::r_brace, SkipUntilFlags::StopBeforeMatch); in ParseRequiresExpression()
[all …]
H A DParseDeclCXX.cpp195 SkipUntil(tok::r_brace, StopBeforeMatch); in ParseNamespace()
878 SkipUntil(tok::comma, tok::semi, StopBeforeMatch); in ParseUsingDeclaration()
1176 if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) { in ParseDecltypeSpecifier()
1972 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
2025 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
2129 SkipUntil(tok::semi, StopBeforeMatch); in ParseClassSpecifier()
2398 SkipUntil(tok::comma, tok::l_brace, StopAtSemi | StopBeforeMatch); in ParseBaseClause()
2701 SkipUntil(tok::comma, StopAtSemi | StopBeforeMatch); in ParseCXXMemberDeclaratorBeforeInitializer()
2718 SkipUntil(tok::comma, StopAtSemi | StopBeforeMatch); in ParseCXXMemberDeclaratorBeforeInitializer()
2753 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseCXXMemberDeclaratorBeforeInitializer()
[all …]
H A DParseStmt.cpp225 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseStatementOrDeclarationAfterAttributes()
540 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseStatementOrDeclarationAfterAttributes()
559 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseExprStatement()
871 if (!SkipUntil(tok::colon, tok::r_brace, StopAtSemi | StopBeforeMatch)) in ParseCaseStatement()
886 if (!SkipUntil(tok::colon, tok::r_brace, StopAtSemi | StopBeforeMatch)) in ParseCaseStatement()
1920 SkipUntil(tok::semi, StopBeforeMatch); in ParseDoStatement()
1928 SkipUntil(tok::semi, StopBeforeMatch); in ParseDoStatement()
2181 SkipUntil(tok::r_paren, StopBeforeMatch); in ParseForStatement()
2188 SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch); in ParseForStatement()
2269 SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch); in ParseForStatement()
[all …]
H A DParseTentative.cpp416 StopBeforeMatch); in markNotExpression()
434 P.SkipUntil(tok::r_paren, tok::semi, StopBeforeMatch); in markNotExpression()
2156 if (!SkipUntil(tok::comma, tok::r_paren, StopAtSemi | StopBeforeMatch)) in TryParseParameterDeclarationClause()
2289 if (!SkipUntil(tok::r_square, tok::comma, StopAtSemi | StopBeforeMatch)) in TryParseBracketDeclarator()
2347 StopAtSemi | StopBeforeMatch)) in isTemplateArgumentList()
H A DParser.cpp294 if (HasFlagsSet(Flags, StopBeforeMatch)) { in SkipUntil()
1332 SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch); in ParseFunctionDefinition()
1656 if (SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch)) in ParseKNRParamDeclarations()
1732 } else if (SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch)) { in ParseSimpleAsm()
2814 Parser::StopAtSemi | Parser::StopBeforeMatch) && in diagnoseMissingClose()
2821 P.SkipUntil(Close, Parser::StopBeforeMatch); in skipToEnd()
H A DParseDecl.cpp1170 StopAtSemi | StopBeforeMatch | StopAtCodeCompletion); in ParseVersionTuple()
1199 StopAtSemi | StopBeforeMatch | StopAtCodeCompletion); in ParseVersionTuple()
1220 StopAtSemi | StopBeforeMatch | StopAtCodeCompletion); in ParseVersionTuple()
1249 StopAtSemi | StopBeforeMatch | StopAtCodeCompletion); in ParseVersionTuple()
1268 StopAtSemi | StopBeforeMatch | StopAtCodeCompletion); in ParseVersionTuple()
1613 SkipUntil(tok::comma, tok::r_paren, StopAtSemi | StopBeforeMatch); in ParseExternalSourceSymbolAttribute()
2610 SkipUntil(tok::semi, StopBeforeMatch); in ParseAsmAttributesAfterDeclarator()
2731 SkipUntil(tok::semi, StopBeforeMatch); in ParseDeclarationAfterDeclaratorAndAttributes()
2820 SkipUntil(StopTokens, StopAtSemi | StopBeforeMatch); in ParseDeclarationAfterDeclaratorAndAttributes()
4971 SkipUntil(tok::semi, StopBeforeMatch); in ParseStructDeclaration()
[all …]
H A DParseCXXInlineMethods.cpp43 SkipUntil(tok::r_paren, StopAtSemi | StopBeforeMatch); in ParseCXXDeletedFunctionMessage()
61 SkipUntil(tok::r_paren, tok::comma, StopAtSemi | StopBeforeMatch); in SkipDeletedFunctionBody()
1225 Self.SkipUntil(EndKind, StopAtSemi | StopBeforeMatch); in RevertAnnotations()
H A DParseObjc.cpp562 SkipUntil(tok::greater, tok::at, StopBeforeMatch); in parseObjCTypeParamListOrProtocolRefs()
571 StopBeforeMatch); in parseObjCTypeParamListOrProtocolRefs()
660 SkipUntil(tok::at, StopAtSemi | StopBeforeMatch); in ParseObjCInterfaceDeclList()
1435 SkipUntil(tok::at, StopAtSemi | StopBeforeMatch); in ParseObjCMethodDecl()
1862 skipFlags = skipFlags | StopBeforeMatch; in parseObjCTypeArgsAndProtocolQualifiers()
2040 SkipUntil(tok::r_brace, StopAtSemi | StopBeforeMatch); in ParseObjCClassInstanceVariables()
2528 SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch); in ParseObjCSynchronizedStmt()
2776 SkipUntil(tok::l_brace, StopAtSemi | StopBeforeMatch); in ParseObjCMethodDefinition()
H A DParseInit.cpp557 SkipUntil(tok::r_brace, StopBeforeMatch); in ParseBraceInitializer()
H A DParseExpr.cpp2981 StopAtSemi | StopBeforeMatch)) in tryParseOpenMPArrayShapingCastPart()
3315 StopAtSemi | StopBeforeMatch)) in ParseParenExpression()
3686 SkipUntil(tok::comma, tok::r_paren, StopBeforeMatch); in ParseExpressionList()
H A DParsePragma.cpp795 SkipUntil(tok::eod, StopBeforeMatch); in HandlePragmaDump()
1866 PRef.SkipUntil(tok::eof, Parser::StopBeforeMatch); in createExpectedAttributeSubjectRulesTokenDiagnostic()
1908 SkipUntil(tok::eof, StopBeforeMatch); in HandlePragmaAttribute()
1973 SkipUntil(tok::r_paren, StopBeforeMatch); in HandlePragmaAttribute()
/src/contrib/llvm-project/clang/include/clang/Parse/
H A DParser.h1275 StopBeforeMatch = 1 << 1, enumerator