Fix a typo in my last patch reported by Erik Schwiebert.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 3 Oct 2012 19:05:41 +0000 (19:05 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 3 Oct 2012 19:05:41 +0000 (19:05 +0000)
llvm-svn: 165142

clang/include/clang/Basic/DiagnosticSemaKinds.td
clang/test/SemaObjC/warn-implicit-self-in-block.m

index 20ced10..a221f74 100644 (file)
@@ -718,7 +718,7 @@ def warn_arc_repeated_use_of_weak : Warning <
   "the object alive">,
   InGroup<ARCRepeatedUseOfWeak>, DefaultIgnore;
 def warn_implicitly_retains_self : Warning <
-  "block implicitily retains 'self' - explicitly mention 'self' to indicate "
+  "block implicitly retains 'self' - explicitly mention 'self' to indicate "
   "this is intended behavior">,
   InGroup<DiagGroup<"implicit-retain-self">>;
 def warn_arc_possible_repeated_use_of_weak : Warning <
index 6a19283..532ca94 100644 (file)
@@ -12,7 +12,7 @@
 @implementation I
   - (void)foo{
       ^{
-           _bar = 3; // expected-warning {{block implicitily retains 'self' - explicitly mention 'self' to indicate this is intended behavior}}
+           _bar = 3; // expected-warning {{block implicitly retains 'self' - explicitly mention 'self' to indicate this is intended behavior}}
        }();
   }
 @end