[cfe-dev] Review Request: Plain Old Data (POD) property of classes, and type traits basics
Sebastian Redl
sebastian.redl at getdesigned.at
Fri Jan 2 09:57:05 PST 2009
Hi,
I've implemented the POD property of classes, and (in order to test it)
a basic infrastructure for GCC's type traits extensions, plus a concrete
implementation of the __is_pod trait.
However, I'm not quite sure about all aspects of the patch, so I'm
posting it for review first. In particular, I have an enum called
UnaryTypeTrait that represents the various type trait keywords. Since it
is needed in the parser, the sema and the AST, I saw no other choice but
to make it part of Basic. Is this the right thing to do?
Patch is attached.
Sebastian
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pod.patch
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20090102/78068e5c/attachment.ksh>
More information about the cfe-dev
mailing list