In my quest for consolidated attribute subject diagnostics, I ran into
these two cases where we were handling ObjC attributes outside of the
norm. Specifically:

objc_arc_weak_reference_unavailable had a Subjects that specified it
required an ObjcInterface, but no subject check in SemaDeclAttr.cpp
and no test case. This patch adds the semantics test and testcase.

objc_requires_property_definitions had a Subjects that specified it
required an ObjCInterface, but the diagnostic issued from
SemaDeclAttr.cpp was a custom one instead of the common one. This
patch changes the diagnostic and corrects an existing testcase.

Thanks!

~Aaron

Attachment: ObjCAttr.patch
Description: Binary data

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to