forked from OSchip/llvm-project
Fix a typo in my last patch reported by Erik Schwiebert.
llvm-svn: 165142
This commit is contained in:
parent
095e1cdaca
commit
e0e4bd3c76
|
@ -718,7 +718,7 @@ def warn_arc_repeated_use_of_weak : Warning <
|
||||||
"the object alive">,
|
"the object alive">,
|
||||||
InGroup<ARCRepeatedUseOfWeak>, DefaultIgnore;
|
InGroup<ARCRepeatedUseOfWeak>, DefaultIgnore;
|
||||||
def warn_implicitly_retains_self : Warning <
|
def warn_implicitly_retains_self : Warning <
|
||||||
"block implicitily retains 'self' - explicitly mention 'self' to indicate "
|
"block implicitly retains 'self' - explicitly mention 'self' to indicate "
|
||||||
"this is intended behavior">,
|
"this is intended behavior">,
|
||||||
InGroup<DiagGroup<"implicit-retain-self">>;
|
InGroup<DiagGroup<"implicit-retain-self">>;
|
||||||
def warn_arc_possible_repeated_use_of_weak : Warning <
|
def warn_arc_possible_repeated_use_of_weak : Warning <
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
@implementation I
|
@implementation I
|
||||||
- (void)foo{
|
- (void)foo{
|
||||||
^{
|
^{
|
||||||
_bar = 3; // expected-warning {{block implicitily 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
|
@end
|
||||||
|
|
Loading…
Reference in New Issue