[cfe-dev] How could I get sizeof from RecordDecl with clang?

Wenhan Gu nowar100 at gmail.com
Fri May 27 08:05:26 PDT 2011


Hi all,

I want to get sizeof, offsetof, alignment... of struct type using clang.
I've already seek all RecordDecl and related inheritance class on doxygen
but cannot find interfaces like getSizeOf().

Could someone give me a hand?
Thanks very much.

-- 
Best regards,
Wen-Han
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20110527/e2e3e294/attachment.html>


More information about the cfe-dev mailing list