]> granicus.if.org Git - clang/commitdiff
Fixes a typo in my last patch.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 27 Mar 2013 21:33:52 +0000 (21:33 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 27 Mar 2013 21:33:52 +0000 (21:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178184 91177308-0d34-0410-b5e6-96231b3b80d8

include/clang/Basic/DiagnosticSemaKinds.td
test/Analysis/misc-ps-region-store.m

index 4fda49832521b735793b9089f879f7dac7a66510..7e26387cc890a7bed6b9a88b9670185d5bbd8508 100644 (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">,
index 8881db039062f650e21bd44874c8df78417eea2d..ba88deca5aeb4ffaf9fead81df3f5e1b875ee784 100644 (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()}}
 }
 
 //===----------------------------------------------------------------------===//