aboutsummaryrefslogtreecommitdiff
path: root/lib/CodeGen/CodeGenFunction.h
diff options
context:
space:
mode:
authorEli Friedman <eli.friedman@gmail.com>2008-08-09 23:45:45 +0000
committerEli Friedman <eli.friedman@gmail.com>2008-08-09 23:45:45 +0000
commit1bb516c8615714317c72ec8065cc3177714d336e (patch)
treebea8d600cccdc3f132e23321f0e12ca5600b0c8d /lib/CodeGen/CodeGenFunction.h
parentc34bcde8d2aa7430cb2f3abb003d9248842748b8 (diff)
Make sure to count the struct elements correctly; here, we want the
member count. The count returned by numStructUnionElements is the number of initializers that will be consumed, not the number of members to iterate through. Fixes PR2534. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54601 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CodeGenFunction.h')
0 files changed, 0 insertions, 0 deletions