summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjCXX/cstyle-block-pointer-cast.mm
Commit message (Collapse)AuthorAgeFilesLines
* 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
* Also allow cast of block pointer type toFariborz Jahanian2010-01-211-0/+19
| | | | | | | pointer to an any object. Another variation of radar 7562285. llvm-svn: 94052
* In objective-c++ land, a block pointer is another object pointer.Fariborz Jahanian2010-01-201-0/+23
So, casting a generic object pointer ('id' or 'Class') to the block pointer is allowed. Fixes radar 7562285. llvm-svn: 94045
OpenPOWER on IntegriCloud