summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
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
commita3b2f6f2af5afad707a91b33b260b769fb57bf7f (patch)
tree0f12cdb19967797cc4231059e6821709e5e05606 /clang/lib/CodeGen/CodeGenModule.cpp
parent121ba0c4d34b59512db1309fc2e511e0b36a5fe0 (diff)
downloadbcm5719-llvm-a3b2f6f2af5afad707a91b33b260b769fb57bf7f.tar.gz
bcm5719-llvm-a3b2f6f2af5afad707a91b33b260b769fb57bf7f.zip
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. llvm-svn: 54601
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud