From: Fariborz Jahanian Date: Wed, 3 Oct 2012 19:05:41 +0000 (+0000) Subject: Fix a typo in my last patch reported by Erik Schwiebert. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5b8207358f2bd972edeb28d29062424af38e8239;p=clang Fix a typo in my last patch reported by Erik Schwiebert. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165142 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/include/clang/Basic/DiagnosticSemaKinds.td b/include/clang/Basic/DiagnosticSemaKinds.td index 20ced10606..a221f7438b 100644 --- a/include/clang/Basic/DiagnosticSemaKinds.td +++ b/include/clang/Basic/DiagnosticSemaKinds.td @@ -718,7 +718,7 @@ def warn_arc_repeated_use_of_weak : Warning < "the object alive">, InGroup, 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>; def warn_arc_possible_repeated_use_of_weak : Warning < diff --git a/test/SemaObjC/warn-implicit-self-in-block.m b/test/SemaObjC/warn-implicit-self-in-block.m index 6a19283506..532ca9465d 100644 --- a/test/SemaObjC/warn-implicit-self-in-block.m +++ b/test/SemaObjC/warn-implicit-self-in-block.m @@ -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