summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/continuation-class-err.m
Commit message (Collapse)AuthorAgeFilesLines
* objective-C: Change rules for overriding properties in Fariborz Jahanian2012-08-211-2/+2
| | | | | | | | | class extensions a little. clang now allows readonly property with no ownership rule (assign, unsafe_unretained, weak, retain, strong, or copy) with a readwrite property with an ownership rule. // rdar://12103400 llvm-svn: 162319
* Fix a typo (the the => the)Sylvestre Ledru2012-07-231-1/+1
| | | | llvm-svn: 160622
* objc: use "class extension" instead of "continuation class"Fariborz Jahanian2012-05-181-4/+4
| | | | | | to match documentation. // rdar://11309706 llvm-svn: 157074
* Added a new attribute, objc_root_class, which informs the compiler when a ↵Patrick Beard2012-04-061-1/+1
| | | | | | | | | 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
* objc: don't crash if primary class is missing and continuation classFariborz Jahanian2012-02-021-0/+9
| | | | | | is declaring ivars. // rdar://10752081 llvm-svn: 149573
* Tweak diagnostics for redeclaration of a @property in a class extension ↵Ted Kremenek2010-10-211-3/+3
| | | | | | | | | | where the redelcaration and original declaration have the 'readwrite' attribute. This is a common case, and we can issue a more lucid diagnostic. Fixes <rdar://problem/7629420>. llvm-svn: 117045
* Improve on my previous diagnostics: per Doug's comment.Fariborz Jahanian2010-04-231-3/+3
| | | | llvm-svn: 102190
* Trying to improve on a diagnostics for properties.Fariborz Jahanian2010-04-231-3/+3
| | | | llvm-svn: 102187
* Update tests to use %clang_cc1 instead of 'clang-cc' or 'clang -cc1'.Daniel Dunbar2009-12-151-1/+1
| | | | | | | | | - This is designed to make it obvious that %clang_cc1 is a "test variable" which is substituted. It is '%clang_cc1' instead of '%clang -cc1' because it can be useful to redefine what gets run as 'clang -cc1' (for example, to set a default target). llvm-svn: 91446
* Change tests to use clang -cc1...Fariborz Jahanian2009-12-141-1/+1
| | | | llvm-svn: 91297
* Since default writable attribute is 'assign', allowFariborz Jahanian2009-11-061-0/+2
| | | | | | | | | | specification of 'assign' (no warning to be issued), when a continuation class makes a 'readonly' attribute 'readwrite' but also specifies the 'assign' attribute. (this matches gcc's behavior and prevents exessive warnings)/ llvm-svn: 86297
* Assortment of property attributes declared in continuationFariborz Jahanian2009-11-031-2/+2
| | | | | | | class must match those of same property declared in its primary class. (Fixes radar 7352425) llvm-svn: 85843
* Property declared in continuation class can only be used toFariborz Jahanian2009-11-021-2/+27
| | | | | | | change a readonly property declared in the class (and its inherited protocols) to writable property. (Fixes radar 7350645). llvm-svn: 85836
* Rename clang to clang-cc.Daniel Dunbar2009-03-241-1/+1
| | | | | | Tests and drivers updated, still need to shuffle dirs. llvm-svn: 67602
* Since we do not allow a readonly property to be 'copy'retain', weFariborz Jahanian2008-12-081-1/+1
| | | | | | | must allow the continuation class to extend it to a 'readwrite' and 'copy/retain'. llvm-svn: 60709
* Patch to diagnose a variety of misuse of propertyFariborz Jahanian2008-12-061-1/+1
| | | | | | | attributes. Example would be, readonly, assign or assign, copy, etc. llvm-svn: 60620
* Output better diagnostics for continuation classFariborz Jahanian2008-12-041-1/+1
| | | | | | property attribute mis-specification. llvm-svn: 60562
* Removed a FIXME. Added a test case for anonymous category.Fariborz Jahanian2008-11-261-0/+15
llvm-svn: 60115
OpenPOWER on IntegriCloud