summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX
Commit message (Collapse)AuthorAgeFilesLines
...
* Re-enable PTH testing for Cocoa.h and Carbon.h (and include testing for ↵Ted Kremenek2009-01-091-2/+2
| | | | | | Objective-C++). llvm-svn: 61965
* Allow Objective-C entities to be declared within a transparent contextDouglas Gregor2009-01-061-0/+4
| | | | | | nested in the translation unit. This fixes <rdar://problem/6476070>. llvm-svn: 61832
* Add some block-pointer conversions in C++Douglas Gregor2008-12-231-0/+26
| | | | llvm-svn: 61359
* Support conversion from a null pointer constant o any Objective-C object ↵Douglas Gregor2008-12-221-0/+3
| | | | | | pointer type. Fixes rdar://problem/6463298 llvm-svn: 61340
* Add a missing @end. Why didn't this get diagnosed?Douglas Gregor2008-12-191-0/+1
| | | | llvm-svn: 61256
* Support more implicit conversions for Objective-C types. Addresses ↵Douglas Gregor2008-12-191-1/+16
| | | | | | <rdar://problem/6458293>. llvm-svn: 61255
* Allow downcasts of pointers to Objective-C interfaces, with aDouglas Gregor2008-12-191-0/+5
| | | | | | | warning. This matches GCC's behavior and addresses <rdar://problem/6458293>. llvm-svn: 61246
* Add some more implicit conversions for Objective-C++Douglas Gregor2008-12-181-0/+12
| | | | llvm-svn: 61229
* Ultrasimplistic sketch for the parsing of C++ template-ids. This won'tDouglas Gregor2008-12-181-1/+1
| | | | | | | | become useful or correct until we (1) parse template arguments correctly, (2) have some way to turn template-ids into types, declarators, etc., and (3) have a real representation of templates. llvm-svn: 61208
* Add implicit conversions for Objective-C qualified ids, e.g.,Douglas Gregor2008-11-271-1/+20
| | | | | | | | | | | | id<P0> The intended overloading behavior of these entities isn't entirely clear, and GCC seems to have some strange limitations (e.g., the inability to overload on id<P0> vs. id<P1>). We'll want to revisit these semantics and determine just how Objective-C++ overloading should really work. llvm-svn: 60142
* Implement implicit conversions for Objective-C specific types, e.g., Douglas Gregor2008-11-261-0/+39
| | | | | | | | | | | | converting a pointer to one Objective-C interface into a pointer to another Objective-C interface, and conversions with 'id'. The semantics seems to match GCC, although they seem somewhat ad hoc. Fixed a few cases where we assumed the C++ definition of isObjectType, but were getting the C definition, causing failures in trouble with conversions to void pointers. llvm-svn: 60130
* Make it an error if an Objective-C declaration is not in the global scope.Anders Carlsson2008-11-041-0/+27
| | | | llvm-svn: 58705
* Add carbon.cpp and cocoa.mm testsAnders Carlsson2008-08-231-0/+5
| | | | llvm-svn: 55262
* Reserved C++ words are valid selectors in Objective-C++Anders Carlsson2008-08-231-0/+35
llvm-svn: 55253
OpenPOWER on IntegriCloud