Fixes a typo in my last patch.

llvm-svn: 178184
This commit is contained in:
Fariborz Jahanian 2013-03-27 21:33:52 +00:00
parent ea6c8dbf71
commit 7e1eae004c
2 changed files with 2 additions and 2 deletions

View File

@ -637,7 +637,7 @@ def warn_objc_isa_use : Warning<
"direct access to Objective-C's isa is deprecated in favor of "
"object_getClass()">, InGroup<DeprecatedObjCIsaUsage>;
def warn_objc_isa_assign : Warning<
"assignemt to Objective-C's isa is deprecated in favor of "
"assignment to Objective-C's isa is deprecated in favor of "
"object_setClass()">, InGroup<DeprecatedObjCIsaUsage>;
def warn_objc_property_default_assign_on_object : Warning<
"default property attribute 'assign' not appropriate for non-GC object">,

View File

@ -920,7 +920,7 @@ int rdar_7770737_pos(void)
void pr6302(id x, Class y) {
// This previously crashed the analyzer (reported in PR 6302)
x->isa = y; // expected-warning {{assignemt to Objective-C's isa is deprecated in favor of object_setClass()}}
x->isa = y; // expected-warning {{assignment to Objective-C's isa is deprecated in favor of object_setClass()}}
}
//===----------------------------------------------------------------------===//