[cfe-commits] PATCH: don't claim synthesized ivars are always in base classes

Nick Lewycky nlewycky at google.com
Mon Apr 2 15:32:49 PDT 2012


This fixes what looks like a copy+paste error from the case above that
handles IFace->getSuperClass(). When traversing IFace->getImplementation(),
pass InBaseClass along instead of passing constant true in its place. The
only case this happens (that we have an ivar in the implementation that's
not in the interface) is when it's implicitly synthesized.

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120402/0047b996/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: semalookup-inbaseclass-1.patch
Type: application/octet-stream
Size: 1560 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20120402/0047b996/attachment.obj>


More information about the cfe-commits mailing list