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)
llvm-svn: 165177

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

index a221f74..4561f87 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 532ca94..cc70b5b 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