From: Fariborz Jahanian Date: Wed, 18 Jan 2012 22:18:30 +0000 (+0000) Subject: Use -Wdeprecated-objc-isa-usage for option to issue X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8e87490124b02ffb8eaa06fab26dfc78625613f5;p=clang Use -Wdeprecated-objc-isa-usage for option to issue deprecated usage of 'isa'. // rdar://8290002 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@148430 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 7ff22eb74e..5f361cdf0d 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -514,7 +514,7 @@ def warn_objc_property_no_assignment_attribute : Warning< def warn_objc_isa_use : Warning< "direct access to objective-c's isa is deprecated " "in favor of object_setClass() and object_getClass()">, - InGroup>; + InGroup>; def warn_objc_property_default_assign_on_object : Warning< "default property attribute 'assign' not appropriate for non-gc object">; def warn_property_attr_mismatch : Warning<