[cfe-commits] r165177 - in /cfe/trunk: include/clang/Basic/DiagnosticSemaKinds.td test/SemaObjC/warn-implicit-self-in-block.m
Fariborz Jahanian
fjahanian at apple.com
Wed Oct 3 15:39:33 PDT 2012
Author: fjahanian
Date: Wed Oct 3 17:39:32 2012
New Revision: 165177
URL: http://llvm.org/viewvc/llvm-project?rev=165177&view=rev
Log:
use ';' instead of '-' in the note part of my last patch.
Modified:
cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
cfe/trunk/test/SemaObjC/warn-implicit-self-in-block.m
Modified: cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td?rev=165177&r1=165176&r2=165177&view=diff
==============================================================================
--- cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td (original)
+++ cfe/trunk/include/clang/Basic/DiagnosticSemaKinds.td Wed Oct 3 17:39:32 2012
@@ -718,7 +718,7 @@
"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 <
Modified: cfe/trunk/test/SemaObjC/warn-implicit-self-in-block.m
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/SemaObjC/warn-implicit-self-in-block.m?rev=165177&r1=165176&r2=165177&view=diff
==============================================================================
--- cfe/trunk/test/SemaObjC/warn-implicit-self-in-block.m (original)
+++ cfe/trunk/test/SemaObjC/warn-implicit-self-in-block.m Wed Oct 3 17:39:32 2012
@@ -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
More information about the cfe-commits
mailing list