]> granicus.if.org Git - clang/commitdiff
use ';' instead of '-' in the note part of my last patch.
authorFariborz Jahanian <fjahanian@apple.com>
Wed, 3 Oct 2012 22:39:32 +0000 (22:39 +0000)
committerFariborz Jahanian <fjahanian@apple.com>
Wed, 3 Oct 2012 22:39:32 +0000 (22:39 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@165177 91177308-0d34-0410-b5e6-96231b3b80d8

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

index a221f7438b9fe5620d6c79cd97f3afa64de247c1..4561f8709fda74fdd6368c6e09e47323ee7d899e 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 implicitly 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 532ca9465d921c701b238bc2d7aa44d0bfb4824f..cc70b5b41b24e14f6c59f3e427f1e966b614bbdb 100644 (file)
@@ -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