From: Benjamin Kramer Date: Mon, 5 Dec 2016 11:30:24 +0000 (+0000) Subject: Clean out unused diagnostics. NFC. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=581ee4199aaf0bc399874e1e0f881b7d84a4af95;p=clang Clean out unused diagnostics. NFC. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288664 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticParseKinds.td b/include/clang/Basic/DiagnosticParseKinds.td index 4bd812446c..ecebda9924 100644 --- a/include/clang/Basic/DiagnosticParseKinds.td +++ b/include/clang/Basic/DiagnosticParseKinds.td @@ -422,8 +422,6 @@ def err_unexpected_protocol_qualifier : Error< "@implementation declaration cannot be protocol qualified">; def err_objc_unexpected_atend : Error< "'@end' appears where closing brace '}' is expected">; -def err_property_ivar_decl : Error< - "property synthesize requires specification of an ivar">; def err_synthesized_property_name : Error< "expected a property name in @synthesize">; def warn_semicolon_before_method_body : Warning< diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 4ab18e7677..bd91b67702 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -1050,8 +1050,6 @@ def err_synthesize_category_decl : Error< "@synthesize not allowed in a category's implementation">; def err_synthesize_on_class_property : Error< "@synthesize not allowed on a class property %0">; -def err_reference_property : Error< - "property of reference type is not supported">; def err_missing_property_interface : Error< "property implementation in a category with no category declaration">; def err_bad_category_property_decl : Error< @@ -1306,8 +1304,6 @@ def err_mismatched_exception_spec : Error< "exception specification in declaration does not match previous declaration">; def ext_mismatched_exception_spec : ExtWarn, InGroup; -def warn_mismatched_exception_spec_no_exceptions : ExtWarn, - InGroup>; def err_override_exception_spec : Error< "exception specification of overriding function is more lax than " "base version">; @@ -7943,8 +7939,6 @@ def warn_direct_super_initialize_call : Warning< InGroup; def err_ivar_use_in_class_method : Error< "instance variable %0 accessed in class method">; -def err_implicit_ivar_access : Error< - "instance variable %0 cannot be accessed because 'self' has been redeclared">; def err_private_ivar_access : Error<"instance variable %0 is private">, AccessControl; def err_protected_ivar_access : Error<"instance variable %0 is protected">,