From 5b8207358f2bd972edeb28d29062424af38e8239 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 3 Oct 2012 19:05:41 +0000 Subject: [PATCH] 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 --- include/clang/Basic/DiagnosticSemaKinds.td | 2 +- test/SemaObjC/warn-implicit-self-in-block.m | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.40.0