diff options
| -rw-r--r-- | clang/include/clang/Basic/DiagnosticSemaKinds.td | 2 | ||||
| -rw-r--r-- | clang/test/Analysis/misc-ps-region-store.m | 2 | 
2 files changed, 2 insertions, 2 deletions
diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index 4fda4983252..7e26387cc89 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/include/clang/Basic/DiagnosticSemaKinds.td @@ -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">, diff --git a/clang/test/Analysis/misc-ps-region-store.m b/clang/test/Analysis/misc-ps-region-store.m index 8881db03906..ba88deca5ae 100644 --- a/clang/test/Analysis/misc-ps-region-store.m +++ b/clang/test/Analysis/misc-ps-region-store.m @@ -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()}}  }  //===----------------------------------------------------------------------===//  | 

