summaryrefslogtreecommitdiffstats
path: root/clang/test/SemaObjC/multiple-method-names.m
Commit message (Collapse)AuthorAgeFilesLines
* ObjC kindof: order the methods in global pool relative to availability.Manman Ren2016-04-131-2/+2
| | | | | | | | | | | | | | r265877 tries to put methods that are deprecated or unavailable to the front of the global pool to emit diagnostics, but it breaks some of our existing codes that depend on choosing a certain method for id lookup. This commit orders the methods with the same declaration with respect to the availability, but do not order methods with different declaration. rdar://25707511 llvm-svn: 266264
* ObjC kindof: check the context when inserting methods to global pool.Manman Ren2016-04-091-2/+2
| | | | | | | | | | | | | | | | To make kindof lookup work, we need to insert methods with different context into the global pool, even though they have the same siganture. Since diagnosis of availability is performed on the best candidate, which is often the first candidate from the global pool, we prioritize the methods that are unavaible or deprecated to the head of the list. Since we now have more methods in the global pool, we need to watch out for performance impact. rdar://25635831 llvm-svn: 265877
* Fix PR22047: ObjC: Method unavailability attribute doesn't work with ↵Jonathan Roelofs2015-04-281-0/+19
overloaded methods http://reviews.llvm.org/D9261 llvm-svn: 236006
OpenPOWER on IntegriCloud