[LLVMdev] Idea for Google Summer Code : C Compiler for EFI Byte Code implement in LLVM
clattner at apple.com
Thu Apr 1 15:00:04 PDT 2010
On Apr 1, 2010, at 1:27 PM, 琬菁楊 wrote:
> int main()
> size_t size;
> size = fsize3(10); // fsize3 returns 13
> return 0;
> And I found some information with clang about VLA
> Does llvm/clang doesn't support sizeof is evaluated at run time??
Yes, clang supports vlas as defined in C99 and sizeof can return a dynamic value. C99 vlas cannot occur in structs though, and clang does not support them in structs.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-dev