[cfe-dev] Comparison of pointers between Objc subclasses

Eli Friedman eli.friedman at gmail.com
Tue Jul 1 21:48:00 PDT 2008


On Tue, Jul 1, 2008 at 8:54 PM, Ted Kremenek <kremenek at apple.com> wrote:
> So, I think the answers we are looking for are outside the letter of C99
> standard.  The Objective-C and C++ object type systems are a completely
> different animal.

Okay, so in that case typesAreCompatible should say that non-identical
 ObjC types aren't compatible, and the necessary handling for
comparison/assignment/conditionals/whatever else is needed for ObjC
pointers should move into SemaExpr.

-Eli



More information about the cfe-dev mailing list