[cfe-dev] How can I get the detailed information of Structure/Union
Arthur Yoo
phjy007 at gmail.com
Wed Aug 14 07:09:29 PDT 2013
Hi all,
I can use isStructureType<http://clang.llvm.org/doxygen/classclang_1_1Type.html#ad94f5769b2fc8827732aec71c3efeb52>()
and isUnionType<http://clang.llvm.org/doxygen/classclang_1_1Type.html#aeb2ffe71ce3dab180574284222a92bc3>()
to
check whether an Expr is structure type or union type. Now I want to get
the structure/union type's detailed information, such as the fields and
their types of a structure. How can I get these information? Thanks a lot.
--
Best regards,
Arthur Yoo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20130814/70247c3b/attachment.html>
More information about the cfe-dev
mailing list