summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/method-warn-unused-attribute.m
Commit message (Collapse)AuthorAgeFilesLines
* Implement support for [[nodiscard]] in C++1z that is based off existing ↵Aaron Ballman2016-03-071-2/+2
| | | | | | support for warn_unused_result, and treat it as an extension pre-C++1z. This also means extending the existing warn_unused_result attribute so that it can be placed on an enum as well as a class. llvm-svn: 262872
* Add Support for 'warn_unused_result" attribute onFariborz Jahanian2010-03-301-2/+10
| | | | | | objective-c methods. (radar 7418262). llvm-svn: 99903
* Clang really intends to reject attribute 'warn_unused_result' on Objective-C ↵Ted Kremenek2010-02-211-0/+8
methods, but instead it crashes on them. We might extend this attribute to work on methods, but for now fix the crasher. Addresses <rdar://problem/7670939>. llvm-svn: 96723
OpenPOWER on IntegriCloud