]> granicus.if.org Git - clang/commitdiff
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)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165142 91177308-0d34-0410-b5e6-96231b3b80d8

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

index 20ced106060788f78d7f51c9cda96db5fee86a78..a221f7438b9fe5620d6c79cd97f3afa64de247c1 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 6a1928350604a5ca9941fbf639aea75a195436f4..532ca9465d921c701b238bc2d7aa44d0bfb4824f 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