[LLVMdev] Sizeof a type?

Caldarale, Charles R Chuck.Caldarale at unisys.com
Sat Jan 19 22:32:37 PST 2013

> From: llvmdev-bounces at cs.uiuc.edu [mailto:llvmdev-bounces at cs.uiuc.edu]
> On Behalf Of Rick Mann
> Subject: [LLVMdev] Sizeof a type?

> Is there a way to get the sizeof a type?

Look at the methods of the DataLayout class.

 - Chuck 

THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY MATERIAL and is thus for use only by the intended recipient. If you received this in error, please contact the sender and delete the e-mail and its attachments from all computers.

More information about the llvm-dev mailing list