Skip to content

Commit 581ee41

Browse files
committed
Clean out unused diagnostics. NFC.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@288664 91177308-0d34-0410-b5e6-96231b3b80d8
1 parent 8880060 commit 581ee41

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

include/clang/Basic/DiagnosticParseKinds.td

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -422,8 +422,6 @@ def err_unexpected_protocol_qualifier : Error<
422422
"@implementation declaration cannot be protocol qualified">;
423423
def err_objc_unexpected_atend : Error<
424424
"'@end' appears where closing brace '}' is expected">;
425-
def err_property_ivar_decl : Error<
426-
"property synthesize requires specification of an ivar">;
427425
def err_synthesized_property_name : Error<
428426
"expected a property name in @synthesize">;
429427
def warn_semicolon_before_method_body : Warning<

include/clang/Basic/DiagnosticSemaKinds.td

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1050,8 +1050,6 @@ def err_synthesize_category_decl : Error<
10501050
"@synthesize not allowed in a category's implementation">;
10511051
def err_synthesize_on_class_property : Error<
10521052
"@synthesize not allowed on a class property %0">;
1053-
def err_reference_property : Error<
1054-
"property of reference type is not supported">;
10551053
def err_missing_property_interface : Error<
10561054
"property implementation in a category with no category declaration">;
10571055
def err_bad_category_property_decl : Error<
@@ -1306,8 +1304,6 @@ def err_mismatched_exception_spec : Error<
13061304
"exception specification in declaration does not match previous declaration">;
13071305
def ext_mismatched_exception_spec : ExtWarn<err_mismatched_exception_spec.Text>,
13081306
InGroup<MicrosoftExceptionSpec>;
1309-
def warn_mismatched_exception_spec_no_exceptions : ExtWarn<err_mismatched_exception_spec.Text>,
1310-
InGroup<DiagGroup<"exception-spec-no-exceptions">>;
13111307
def err_override_exception_spec : Error<
13121308
"exception specification of overriding function is more lax than "
13131309
"base version">;
@@ -7943,8 +7939,6 @@ def warn_direct_super_initialize_call : Warning<
79437939
InGroup<ExplicitInitializeCall>;
79447940
def err_ivar_use_in_class_method : Error<
79457941
"instance variable %0 accessed in class method">;
7946-
def err_implicit_ivar_access : Error<
7947-
"instance variable %0 cannot be accessed because 'self' has been redeclared">;
79487942
def err_private_ivar_access : Error<"instance variable %0 is private">,
79497943
AccessControl;
79507944
def err_protected_ivar_access : Error<"instance variable %0 is protected">,

0 commit comments

Comments
 (0)