summaryrefslogtreecommitdiffstats
path: root/clang/test
diff options
context:
space:
mode:
authorDevin Coughlin <dcoughlin@apple.com>2016-03-02 21:22:48 +0000
committerDevin Coughlin <dcoughlin@apple.com>2016-03-02 21:22:48 +0000
commitdce8d8b3f1f0e53322c25b1dcf117f850992b894 (patch)
treeb5a6f6a836dd410012265a9b26abfefa7f02b996 /clang/test
parent6412002d2462ed6ac04b4e1730f3e7b9c309519d (diff)
downloadbcm5719-llvm-dce8d8b3f1f0e53322c25b1dcf117f850992b894.tar.gz
bcm5719-llvm-dce8d8b3f1f0e53322c25b1dcf117f850992b894.zip
[analyzer] Fix capitalization in ObjCSuperDeallocChecker diagnostic.
llvm-svn: 262520
Diffstat (limited to 'clang/test')
-rw-r--r--clang/test/Analysis/DeallocUseAfterFreeErrors.m20
1 files changed, 10 insertions, 10 deletions
diff --git a/clang/test/Analysis/DeallocUseAfterFreeErrors.m b/clang/test/Analysis/DeallocUseAfterFreeErrors.m
index cfb202b6507..2902be694bb 100644
--- a/clang/test/Analysis/DeallocUseAfterFreeErrors.m
+++ b/clang/test/Analysis/DeallocUseAfterFreeErrors.m
@@ -36,8 +36,8 @@ typedef struct objc_selector *SEL;
}
- (void)dealloc {
[super dealloc]; // expected-note {{[super dealloc] called here}}
- [_ivar release]; // expected-warning {{use of instance variable '_ivar' after 'self' has been deallocated}}
- // expected-note@-1 {{use of instance variable '_ivar' after 'self' has been deallocated}}
+ [_ivar release]; // expected-warning {{Use of instance variable '_ivar' after 'self' has been deallocated}}
+ // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
}
@end
@@ -56,8 +56,8 @@ typedef struct objc_selector *SEL;
}
- (void)dealloc {
[super dealloc]; // expected-note {{[super dealloc] called here}}
- _delegate = nil; // expected-warning {{use of instance variable '_delegate' after 'self' has been deallocated}}
- // expected-note@-1 {{use of instance variable '_delegate' after 'self' has been deallocated}}
+ _delegate = nil; // expected-warning {{Use of instance variable '_delegate' after 'self' has been deallocated}}
+ // expected-note@-1 {{Use of instance variable '_delegate' after 'self' has been deallocated}}
}
@end
@@ -74,8 +74,8 @@ struct SomeStruct {
@implementation SuperDeallocThenAssignIvarField
- (void)dealloc {
[super dealloc]; // expected-note {{[super dealloc] called here}}
- _s.f = 7; // expected-warning {{use of instance variable '_s' after 'self' has been deallocated}}
- // expected-note@-1 {{use of instance variable '_s' after 'self' has been deallocated}}
+ _s.f = 7; // expected-warning {{Use of instance variable '_s' after 'self' has been deallocated}}
+ // expected-note@-1 {{Use of instance variable '_s' after 'self' has been deallocated}}
}
@end
@@ -93,8 +93,8 @@ struct SomeStruct {
@implementation SuperDeallocThenAssignIvarIvar
- (void)dealloc {
[super dealloc]; // expected-note {{[super dealloc] called here}}
- _ivar->_otherIvar = 7; // expected-warning {{use of instance variable '_ivar' after 'self' has been deallocated}}
- // expected-note@-1 {{use of instance variable '_ivar' after 'self' has been deallocated}}
+ _ivar->_otherIvar = 7; // expected-warning {{Use of instance variable '_ivar' after 'self' has been deallocated}}
+ // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
}
@end
@@ -106,8 +106,8 @@ struct SomeStruct {
@implementation SuperDeallocThenAssignSelfIvar
- (void)dealloc {
[super dealloc]; // expected-note {{[super dealloc] called here}}
- self->_ivar = nil; // expected-warning {{use of instance variable '_ivar' after 'self' has been deallocated}}
- // expected-note@-1 {{use of instance variable '_ivar' after 'self' has been deallocated}}
+ self->_ivar = nil; // expected-warning {{Use of instance variable '_ivar' after 'self' has been deallocated}}
+ // expected-note@-1 {{Use of instance variable '_ivar' after 'self' has been deallocated}}
}
@end
OpenPOWER on IntegriCloud