diff options
author | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-27 21:33:52 +0000 |
---|---|---|
committer | Fariborz Jahanian <fjahanian@apple.com> | 2013-03-27 21:33:52 +0000 |
commit | 0353b70b6a1f51e0b59c4707d2d73870f075b322 (patch) | |
tree | eac17964b995b82ef929242b3f938b107e22ad81 | |
parent | 04f5db699e5c1198f30cba17fd12f38805ab04df (diff) |
Fixes a typo in my last patch.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@178184 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | include/clang/Basic/DiagnosticSemaKinds.td | 2 | ||||
-rw-r--r-- | test/Analysis/misc-ps-region-store.m | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 4fda498325..7e26387cc8 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/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/test/Analysis/misc-ps-region-store.m b/test/Analysis/misc-ps-region-store.m index 8881db0390..ba88deca5a 100644 --- a/test/Analysis/misc-ps-region-store.m +++ b/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()}} } //===----------------------------------------------------------------------===// |