From 7e1eae004c74a4b31f7d6bd4ff8394bd27fa09be Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 27 Mar 2013 21:33:52 +0000 Subject: [PATCH] Fixes a typo in my last patch. llvm-svn: 178184 --- clang/include/clang/Basic/DiagnosticSemaKinds.td | 2 +- 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 4fda49832521..7e26387cc890 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; 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; 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 8881db039062..ba88deca5aeb 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()}} } //===----------------------------------------------------------------------===//