patch: fix ODR-used of pure virtual methods

Nick Lewycky nlewycky at google.com
Tue Jan 29 21:20:53 PST 2013


It is possible for pure virtual methods to be ODR-used, but only when
mentioned through a qualified name. Add this test to
Sema::MarkMemberReferenced and remove matching workaround in the
UndefinedInternals warning.

Please review!

Nick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130129/e729abd1/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: odr-pure-1.patch
Type: application/octet-stream
Size: 2400 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130129/e729abd1/attachment.obj>


More information about the cfe-commits mailing list