From 5904c9c74ed3972af2003927c6df3fbb1e6131e3 Mon Sep 17 00:00:00 2001 From: Fariborz Jahanian Date: Wed, 3 Oct 2012 22:39:32 +0000 Subject: [PATCH] use ';' instead of '-' in the note part of my last patch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165177 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 a221f7438b..4561f8709f 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 implicitly 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 532ca9465d..cc70b5b41b 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 implicitly 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