From: Fariborz Jahanian Date: Wed, 3 Oct 2012 22:39:32 +0000 (+0000) Subject: use ';' instead of '-' in the note part of my last patch. X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8061f92c6b8db49b0eee5daed39a18e388619dfe;p=platform%2Fupstream%2Fllvm.git use ';' instead of '-' in the note part of my last patch. llvm-svn: 165177 --- diff --git a/clang/include/clang/Basic/DiagnosticSemaKinds.td b/clang/include/clang/Basic/DiagnosticSemaKinds.td index a221f74..4561f87 100644 --- a/clang/include/clang/Basic/DiagnosticSemaKinds.td +++ b/clang/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/clang/test/SemaObjC/warn-implicit-self-in-block.m b/clang/test/SemaObjC/warn-implicit-self-in-block.m index 532ca94..cc70b5b 100644 --- a/clang/test/SemaObjC/warn-implicit-self-in-block.m +++ b/clang/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