[cfe-dev] How does clang objc select which selector to call for a given selector on ID?

Carlo Kok carlokok at gmail.com
Tue Dec 2 08:03:04 PST 2014


given an id x and NSStatusItem and NSString in scope (which both do
length), one returns int, the other CGFloat, how does clang decide which
one to pick? It seems to pick NSString, but I can't find the code that
actually does this (or the rules that are used here)

-- 
Carlo Kok
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20141202/03105ae2/attachment.html>


More information about the cfe-dev mailing list