summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/warn-missing-super.m
Commit message (Collapse)AuthorAgeFilesLines
* Add 'not' to commands that are expected to fail.Rafael Espindola2013-07-041-1/+1
| | | | | | | This is at least good documentation, but also opens the possibility of using pipefail. llvm-svn: 185652
* Point diagnostics that complain about a use of a selector in an objc ↵Argyrios Kyrtzidis2013-05-011-1/+1
| | | | | | | | | | | | message, to the selector location. Previously it would point to the left bracket or the receiver, which can be particularly problematic if the receiver is a block literal and we end up point the diagnostic far away for the selector that is complaining about. rdar://13620447 llvm-svn: 180833
* objective-C: Improving diagnostocs for missing call toFariborz Jahanian2012-09-101-2/+2
| | | | | | super's annotated methods. // rdar://6386358 llvm-svn: 163517
* objective-C: introduce __attribute((objc_requires_super)) on methodFariborz Jahanian2012-09-071-2/+2
| | | | | | | | in classes. Use it to flag those method implementations which don't contain call to 'super' if they have 'super' class and it has the method with this attribute set. This is wip. // rdar://6386358 llvm-svn: 163434
* Added a new attribute, objc_root_class, which informs the compiler when a ↵Patrick Beard2012-04-061-5/+6
| | | | | | | | | root class is intentionally declared. The warning this inhibits, -Wobjc-root-class, is opt-in for now. However, all clang unit tests that would trigger the warning have been updated to use -Wno-objc-root-class. <rdar://problem/7446698> llvm-svn: 154187
* Make -fobjc-nonfragile-abi the -cc1 default, since it's theJohn McCall2011-10-021-1/+1
| | | | | | | | | | | | | | | | | | | increasingly prevailing case to the point that new features like ARC don't even support the fragile ABI anymore. This required a little bit of reshuffling with exceptions because a check was assuming that ObjCNonFragileABI was only being set in ObjC mode, and that's actually a bit obnoxious to do. Most, though, it involved a perl script to translate a ton of test cases. Mostly no functionality change for driver users, although there are corner cases with disabling language-specific exceptions that we should handle more correctly now. llvm-svn: 140957
* Tweak -Wobjc-missing-super-calls to not warning about missing [super ↵Ted Kremenek2011-09-281-2/+10
| | | | | | dealloc] when in GC-only mode, and to not warning about missing [super finalize] when not using GC. llvm-svn: 140713
* Do not warn about [super finalize] in arc mode.Nico Weber2011-08-291-2/+1
| | | | llvm-svn: 138776
* Warn on missing [super finalize] calls.Nico Weber2011-08-281-4/+16
| | | | | | This matches gcc's logic. Second half of PR10661. llvm-svn: 138730
* Do not perform check for missing '[super dealloc]' under ARC as calling ↵Ted Kremenek2011-08-221-3/+9
| | | | | | -dealloc is illegal in that mode. llvm-svn: 138261
* Warn on missing [super dealloc] calls.Nico Weber2011-08-221-0/+32
This matches gcc's logic. Half of PR10661. llvm-svn: 138240
OpenPOWER on IntegriCloud