| /freebsd-14.2/contrib/llvm-project/clang/lib/Parse/ |
| H A D | ParseHLSL.cpp | 148 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after)) { in ParseHLSLSemantics() 182 if (ExpectAndConsume(tok::r_paren, diag::err_expected)) { in ParseHLSLSemantics()
|
| H A D | ParsePragma.cpp | 772 ExpectAndConsume(tok::eod); in HandlePragmaDump() 794 ExpectAndConsume(tok::eod); in HandlePragmaDump() 1230 if (ExpectAndConsume(tok::l_paren, diag::warn_pragma_expected_lparen, in HandlePragmaMSInitSeg() 1274 if (ExpectAndConsume(tok::r_paren, diag::warn_pragma_expected_rparen, in HandlePragmaMSInitSeg() 1276 ExpectAndConsume(tok::eof, diag::warn_pragma_extra_tokens_at_eol, in HandlePragmaMSInitSeg() 1289 if (ExpectAndConsume(tok::l_paren, diag::warn_pragma_expected_lparen, in HandlePragmaMSStrictGuardStackCheck() 1299 if (ExpectAndConsume(tok::comma, diag::warn_pragma_expected_punc, in HandlePragmaMSStrictGuardStackCheck() 1365 if (ExpectAndConsume(tok::comma, diag::warn_pragma_expected_comma, in HandlePragmaMSAllocText() 1944 if (ExpectAndConsume(tok::r_paren)) in HandlePragmaAttribute() 1946 if (ExpectAndConsume(tok::r_paren)) in HandlePragmaAttribute() [all …]
|
| H A D | ParseOpenACC.cpp | 578 ExpectAndConsume(tok::comma); in ParseOpenACCClauseVarList() 607 ExpectAndConsume(tok::comma); in ParseOpenACCDeviceTypeList() 814 if (ExpectAndConsume(tok::colon)) in ParseOpenACCWaitArgument() 842 if (ExpectAndConsume(tok::comma)) in ParseOpenACCWaitArgument() 943 ExpectAndConsume(tok::comma); in ParseOpenACCCacheVarList()
|
| H A D | ParseObjc.cpp | 179 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration() 825 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList() 941 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute() 969 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute() 1460 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl() 2422 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize() 2486 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic() 2504 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt() 3255 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody() 3540 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral() [all …]
|
| H A D | ParseDeclCXX.cpp | 583 if (ExpectAndConsume(tok::semi, in ParseUsingDirective() 748 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration() 859 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration() 872 if (ExpectAndConsume(tok::equal)) { in ParseAliasDeclarationAfterDeclarator() 932 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseAliasDeclarationAfterDeclarator() 1015 if (ExpectAndConsume(tok::comma)) { in ParseStaticAssertDeclaration() 1918 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier() 2203 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier() 4602 if (ExpectAndConsume(tok::comma)) { in ParseCXX11AttributeSpecifierInternal() 4673 if (ExpectAndConsume(tok::r_square)) in ParseCXX11AttributeSpecifierInternal() [all …]
|
| H A D | ParseExpr.cpp | 2099 if (ExpectAndConsume(tok::l_paren)) in ParsePostfixExpressionSuffix() 2650 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2687 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2764 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2774 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2800 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2829 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 3414 if (ExpectAndConsume(tok::comma)) { in ParseGenericSelectionExpression() 3446 if (ExpectAndConsume(tok::colon)) { in ParseGenericSelectionExpression()
|
| H A D | ParseDecl.cpp | 188 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, in ParseGNUAttributes() 253 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes() 256 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes() 578 if (!ExpectAndConsume(tok::r_paren)) { in ParseAttributeArgsCommon() 1250 if (ExpectAndConsume(tok::comma)) { in ParseAvailabilityAttribute() 1484 if (ExpectAndConsume(tok::equal, diag::err_expected_after, in ParseExternalSourceSymbolAttribute() 1578 if (ExpectAndConsume(tok::comma)) { in ParseObjCBridgeRelatedAttribute() 1686 if (ExpectAndConsume(tok::comma)) { in ParseTypeTagForDatatypeAttribute() 4779 ExpectAndConsume(tok::l_paren); in ParseStructUnionBody() 4789 ExpectAndConsume(tok::r_paren); in ParseStructUnionBody() [all …]
|
| H A D | Parser.cpp | 117 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume() function in Parser 182 return ExpectAndConsume(tok::semi, DiagID , TokenUsed); in ExpectAndConsumeSemi() 922 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseExternalDeclaration() 1429 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseFunctionDefinition() 2755 if (P.ExpectAndConsume(Kind, DiagID, Msg)) { in expectAndConsume()
|
| H A D | ParseOpenMP.cpp | 303 bool IsCorrect = !ExpectAndConsume(tok::colon); in ParseOpenMPDeclareReductionDirective() 340 if (ExpectAndConsume(tok::comma)) { in ParseOpenMPDeclareReductionDirective() 358 if (ExpectAndConsume(tok::colon)) in ParseOpenMPDeclareReductionDirective() 556 ExpectAndConsume(tok::colon); in ParseOpenMPDeclareMapperDirective() 3095 ExpectAndConsume(tok::comma); in ParseOpenMPSizesClause() 4496 ExpectAndConsume(tok::comma); in ParseOpenMPVarList() 4611 ExpectAndConsume(tok::comma); in ParseOpenMPVarList() 4746 ExpectAndConsume(tok::colon, diag::warn_pragma_expected_colon, in ParseOpenMPVarList()
|
| H A D | ParseStmt.cpp | 523 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError); in ParseStatementOrDeclarationAfterAttributes() 632 if (ExpectAndConsume(tok::l_paren)) in ParseSEHExceptBlock() 660 if (ExpectAndConsume(tok::r_paren)) in ParseSEHExceptBlock()
|
| H A D | ParseExprCXX.cpp | 1581 if (ExpectAndConsume(tok::less, diag::err_expected_less_after, CastName)) in ParseCXXCasts() 1596 if (ExpectAndConsume(tok::greater)) in ParseCXXCasts() 3891 if (ExpectAndConsume(tok::comma)) { in ParseArrayTypeTrait() 4101 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinBitCast()
|
| H A D | ParseCXXInlineMethods.cpp | 95 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXInlineMethodDef()
|
| /freebsd-14.2/contrib/llvm-project/clang/utils/TableGen/ |
| H A D | ClangDiagnosticsEmitter.cpp | 1067 auto ExpectAndConsume = [&](StringRef Prefix) { in parseDiagText() local 1084 ExpectAndConsume("}"); in parseDiagText() 1105 ExpectAndConsume("}"); in parseDiagText() 1112 ExpectAndConsume("{"); in parseDiagText() 1118 ExpectAndConsume("}"); in parseDiagText() 1136 ExpectAndConsume("{"); in parseDiagText() 1138 ExpectAndConsume("$"); in parseDiagText() 1140 ExpectAndConsume("$"); in parseDiagText() 1142 ExpectAndConsume("|"); in parseDiagText() 1144 ExpectAndConsume("}"); in parseDiagText() [all …]
|
| /freebsd-14.2/contrib/llvm-project/clang/include/clang/Parse/ |
| H A D | Parser.h | 1076 bool ExpectAndConsume(tok::TokenKind ExpectedTok,
|