[LLVMdev] variable sized array

Yuanfang Chen tabloid.adroit at gmail.com
Thu Apr 22 23:09:14 PDT 2010


Hi all,

just a quick question, in llvm::TargetData,

uint64_t MemberOffsets[1];  // variable sized array!

MemberOffsets has two elements, why it's variable sized ?

yuanfang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20100423/6e0d57a5/attachment.html>


More information about the llvm-dev mailing list