[cfe-commits] [cfe-dev] checking for virtual members
John Thompson
john.thompson.jtsoftware at gmail.com
Tue Nov 2 11:29:32 PDT 2010
Thanks, Anders.
May I check in the changes in the enclosed patch?
Thanks.
-John
On Mon, Nov 1, 2010 at 5:10 PM, Anders Carlsson <andersca at mac.com> wrote:
>
> Nov 1, 2010 kl. 5:05 PM skrev John Thompson:
>
> > I need a way easily check to make sure a function has no virtual
> functions, or other stuff that would inject extra stuff into an object or
> structure, as part of the validation for the vecreturn attribute. How do I
> do it?
>
> Hi John,
>
> CXXRecordDecl::isDynamicClass() checks if the class has a vtable (either
> virtual functions or virtual bases).
>
> - Anders
>
>
--
John Thompson
John.Thompson.JTSoftware at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101102/c3a6aef2/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vecreturn5.patch
Type: application/octet-stream
Size: 2663 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20101102/c3a6aef2/attachment.obj>
More information about the cfe-commits
mailing list