Home | History | Annotate | Download | only in Parse

Lines Matching defs:Diag

108 DiagnosticBuilder Parser::Diag(SourceLocation Loc, unsigned DiagID) {
112 DiagnosticBuilder Parser::Diag(const Token &Tok, unsigned DiagID) {
113 return Diag(Tok.getLocation(), DiagID);
128 Diag(Loc, DK);
132 Diag(Loc, DK)
160 Diag(Loc, DiagID)
175 Diag(EndLoc, DiagID)
179 Diag(Tok, DiagID) << Msg;
194 Diag(Tok, diag::err_extraneous_token_before_semi)
417 Diag(Tok, diag::ext_empty_source_file);
463 PP.SetPoisonReason(Ident__exception_code,diag::err_seh___except_block);
464 PP.SetPoisonReason(Ident___exception_code,diag::err_seh___except_block);
465 PP.SetPoisonReason(Ident_GetExceptionCode,diag::err_seh___except_block);
466 PP.SetPoisonReason(Ident__exception_info,diag::err_seh___except_filter);
467 PP.SetPoisonReason(Ident___exception_info,diag::err_seh___except_filter);
468 PP.SetPoisonReason(Ident_GetExceptionInfo,diag::err_seh___except_filter);
469 PP.SetPoisonReason(Ident__abnormal_termination,diag::err_seh___finally_block);
470 PP.SetPoisonReason(Ident___abnormal_termination,diag::err_seh___finally_block);
471 diag::err_seh___finally_block);
585 Diag(Tok, getLangOpts().CPlusPlus0x ?
586 diag::warn_cxx98_compat_top_level_semi : diag::ext_top_level_semi)
593 Diag(Tok, diag::err_extraneous_closing_brace);
597 Diag(Tok, diag::err_expected_external_declaration);
612 ExpectAndConsume(tok::semi, diag::err_expected_semi_after,
625 Diag(Tok, diag::err_expected_external_declaration);
655 Diag(ConsumeToken(), diag::warn_static_inline_explicit_inst_ignored)
677 Diag(ConsumeToken(), diag::warn_static_inline_explicit_inst_ignored)
691 Diag(ExternLoc, getLangOpts().CPlusPlus0x ?
692 diag::warn_cxx98_compat_extern_template :
693 diag::ext_extern_template) << SourceRange(ExternLoc, TemplateLoc);
801 Diag(Tok, diag::err_objc_unexpected_attr);
811 Diag(AtLoc, DiagID) << PrevSpec;
891 Diag(Tok, diag::err_expected_fn_body);
907 Diag(DtorAttrs->getLoc(), diag::warn_attribute_on_function_definition)
980 Diag(Tok, getLangOpts().CPlusPlus0x ?
981 diag::warn_cxx98_compat_deleted_function :
982 diag::ext_deleted_function);
988 Diag(Tok, getLangOpts().CPlusPlus0x ?
989 diag::warn_cxx98_compat_defaulted_function :
990 diag::ext_defaulted_function);
999 Diag(KWLoc, diag::err_default_delete_in_multiple_declaration)
1003 ExpectAndConsume(tok::semi, diag::err_expected_semi_after,
1058 Diag(DSStart, diag::err_declaration_does_not_declare_param);
1067 Diag(DS.getStorageClassSpecLoc(),
1068 diag::err_invalid_storage_class_in_func_decl);
1072 Diag(DS.getThreadSpecLoc(),
1073 diag::err_invalid_storage_class_in_func_decl);
1100 Diag(ParmDeclarator.getIdentifierLoc(), diag::err_no_matching_param)
1108 Diag(ParmDeclarator.getIdentifierLoc(),
1109 diag::err_param_redefinition)
1136 Diag(Tok, diag::err_expected_semi_declaration);
1164 Diag(Tok, diag::err_asm_operand_wide_string_literal)
1170 Diag(Tok, diag::err_expected_string_literal);
1191 Diag(Tok, diag::warn_file_asm_volatile)
1198 Diag(Tok, diag::err_expected_lparen_after) << "asm";
1271 Diag(Tok.getLocation(), diag::warn_expected_qualified_after_typename);
1273 Diag(Tok.getLocation(), diag::err_expected_qualified_after_typename);
1286 Diag(Tok, diag::err_typename_refers_to_non_type_template)
1303 Diag(Tok, diag::err_expected_type_name_after_typename)
1479 Diag(Tok, diag::err_invalid_token_after_declarator_suggest_equal)
1554 Diag(Tok, diag::err_expected_lparen_after)
1610 Diag(Tok, diag::err_expected_lbrace);
1656 Diag(Tok, diag::err_module_expected_ident);
1674 ExpectAndConsumeSemi(diag::err_module_expected_semi);
1682 P.Diag(P.Tok, diag::err_parser_impl_limit_overflow);
1704 diag::kind DID;
1707 case tok::r_paren : LHSName = "("; DID = diag::err_expected_rparen; break;
1708 case tok::r_brace : LHSName = "{"; DID = diag::err_expected_rbrace; break;
1709 case tok::r_square: LHSName = "["; DID = diag::err_expected_rsquare; break;
1711 P.Diag(P.Tok, DID);
1712 P.Diag(LOpen, diag::note_matching) << LHSName;