| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | ParseObjc.cpp | 157 if (ExpectAndConsume(tok::semi, diag::err_expected_after, "@class")) in ParseObjCAtClassDeclaration() 763 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list); in ParseObjCInterfaceDeclList() 879 if (ExpectAndConsume(tok::equal, DiagID)) { in ParseObjCPropertyAttribute() 906 if (ExpectAndConsume(tok::colon, in ParseObjCPropertyAttribute() 1392 if (ExpectAndConsume(tok::colon)) in ParseObjCMethodDecl() 2331 ExpectAndConsume(tok::semi, diag::err_expected_after, "@synthesize"); in ParseObjCPropertySynthesize() 2395 ExpectAndConsume(tok::semi, diag::err_expected_after, "@dynamic"); in ParseObjCPropertyDynamic() 2413 ExpectAndConsume(tok::semi, diag::err_expected_after, "@throw"); in ParseObjCThrowStmt() 3160 if (ExpectAndConsume(tok::colon)) { in ParseObjCMessageExpressionBody() 3445 if (ExpectAndConsume(tok::colon)) { in ParseObjCDictionaryLiteral() [all …]
|
| H A D | ParseExpr.cpp | 1629 if (ExpectAndConsume(tok::l_paren)) in ParsePostfixExpressionSuffix() 2094 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2120 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2198 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2208 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2234 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2263 if (ExpectAndConsume(tok::comma)) { in ParseBuiltinPrimaryExpression() 2707 if (ExpectAndConsume(tok::comma)) { in ParseGenericSelectionExpression() 2739 if (ExpectAndConsume(tok::colon)) { in ParseGenericSelectionExpression()
|
| H A D | ParseDeclCXX.cpp | 563 if (ExpectAndConsume(tok::semi, in ParseUsingDirective() 757 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseUsingDeclaration() 769 if (ExpectAndConsume(tok::equal)) { in ParseAliasDeclarationAfterDeclarator() 829 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseAliasDeclarationAfterDeclarator() 886 if (ExpectAndConsume(tok::comma)) { in ParseStaticAssertDeclaration() 1706 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier() 1980 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseClassSpecifier() 2482 if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXClassMemberDeclaration() 2882 ExpectAndConsume(tok::semi, diag::err_expected_semi_decl_list)) { in ParseCXXClassMemberDeclaration() 4071 if (ExpectAndConsume(tok::r_square)) in ParseCXX11AttributeSpecifier() [all …]
|
| H A D | ParseDecl.cpp | 138 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, in ParseGNUAttributes() 198 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes() 201 if (ExpectAndConsume(tok::r_paren)) in ParseGNUAttributes() 341 if (!ExpectAndConsume(tok::r_paren)) { in ParseAttributeArgsCommon() 956 if (ExpectAndConsume(tok::comma)) { in ParseAvailabilityAttribute() 1201 if (ExpectAndConsume(tok::equal, diag::err_expected_after, in ParseExternalSourceSymbolAttribute() 1284 if (ExpectAndConsume(tok::comma)) { in ParseObjCBridgeRelatedAttribute() 1505 if (ExpectAndConsume(tok::comma)) { in ParseTypeTagForDatatypeAttribute() 4050 ExpectAndConsume(tok::l_paren); in ParseStructUnionBody() 4061 ExpectAndConsume(tok::r_paren); in ParseStructUnionBody() [all …]
|
| H A D | Parser.cpp | 110 bool Parser::ExpectAndConsume(tok::TokenKind ExpectedTok, unsigned DiagID, in ExpectAndConsume() function in Parser 175 return ExpectAndConsume(tok::semi, DiagID); in ExpectAndConsumeSemi() 738 ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseExternalDeclaration() 1208 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseFunctionDefinition() 2260 if (P.ExpectAndConsume(Kind, DiagID, Msg)) { in expectAndConsume()
|
| H A D | ParsePragma.cpp | 941 if (ExpectAndConsume(tok::l_paren, diag::warn_pragma_expected_lparen, in HandlePragmaMSInitSeg() 985 if (ExpectAndConsume(tok::r_paren, diag::warn_pragma_expected_rparen, in HandlePragmaMSInitSeg() 987 ExpectAndConsume(tok::eof, diag::warn_pragma_extra_tokens_at_eol, in HandlePragmaMSInitSeg() 1434 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, in HandlePragmaAttribute() 1437 if (ExpectAndConsume(tok::l_paren, diag::err_expected_lparen_after, "(")) in HandlePragmaAttribute() 1457 if (ExpectAndConsume(tok::r_paren)) in HandlePragmaAttribute() 1459 if (ExpectAndConsume(tok::r_paren)) in HandlePragmaAttribute()
|
| H A D | ParseStmt.cpp | 402 ExpectAndConsume(tok::semi, diag::err_expected_semi_after_stmt, SemiError); in ParseStatementOrDeclarationAfterAttributes() 498 if (ExpectAndConsume(tok::l_paren)) in ParseSEHExceptBlock() 526 if (ExpectAndConsume(tok::r_paren)) in ParseSEHExceptBlock()
|
| H A D | ParseOpenMP.cpp | 238 bool IsCorrect = !ExpectAndConsume(tok::colon); in ParseOpenMPDeclareReductionDirective() 276 if (ExpectAndConsume(tok::comma)) { in ParseOpenMPDeclareReductionDirective() 294 if (ExpectAndConsume(tok::colon)) in ParseOpenMPDeclareReductionDirective()
|
| H A D | ParseExprCXX.cpp | 1342 if (ExpectAndConsume(tok::less, diag::err_expected_less_after, CastName)) in ParseCXXCasts() 1355 if (ExpectAndConsume(tok::greater)) in ParseCXXCasts() 3126 if (ExpectAndConsume(tok::comma)) { in ParseArrayTypeTrait()
|
| H A D | ParseCXXInlineMethods.cpp | 94 } else if (ExpectAndConsume(tok::semi, diag::err_expected_after, in ParseCXXInlineMethodDef()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Parse/ |
| H A D | Parser.h | 917 bool ExpectAndConsume(tok::TokenKind ExpectedTok,
|