]> granicus.if.org Git - clang/commit
Ensure we evaluate VLA bounds if a variably-modified type is used as the
authorRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 14 Apr 2014 23:47:48 +0000 (23:47 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Mon, 14 Apr 2014 23:47:48 +0000 (23:47 +0000)
commitad1bdc0fa1789f95a1ceb8280a8f830b9b0b68a0
tree5b13786a5e78b8fe3da509b998ca4ce700f4ede0
parent9cb9774199296771380e50d929d4c1303546a044
Ensure we evaluate VLA bounds if a variably-modified type is used as the
argument to __builtin_va_arg. Patch by Rahul Jain, some test massaging and
IR emission order changes by me.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@206223 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGExprScalar.cpp
test/CodeGen/varargs.c