aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/ModuleBuilder.cpp
diff options
context:
space:
mode:
authorAnders Carlsson <andersca@mac.com>2008-12-20 20:46:34 +0000
committerAnders Carlsson <andersca@mac.com>2008-12-20 20:46:34 +0000
commit60d35413662ebdcd1d31e34a8a7c665eb6977f1e (patch)
tree3611941b067ec799cddd5b4d12c2cdb370b795d2 /lib/CodeGen/ModuleBuilder.cpp
parentf666b7780d04186521adcaedb0e15dfa4d5e6933 (diff)
Change EmitVLASize to take a QualType that must be a variably modified type.
Emit the size even if the declared type is a variably modified type. This lets us handle void f(int n) { int (*a)[n]; printf("size: %d\n", sizeof(*a)); } git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@61285 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/ModuleBuilder.cpp')
0 files changed, 0 insertions, 0 deletions