Fix a typo in my last patch reported by Erik Schwiebert.

llvm-svn: 165142
This commit is contained in:
Fariborz Jahanian 2012-10-03 19:05:41 +00:00
parent 095e1cdaca
commit e0e4bd3c76
2 changed files with 2 additions and 2 deletions

View File

@ -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 <

View File

@ -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