Cleanup and fix an assert that was mis-firing.
authorChandler Carruth <chandlerc@gmail.com>
Sun, 9 Dec 2012 10:33:27 +0000 (10:33 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Sun, 9 Dec 2012 10:33:27 +0000 (10:33 +0000)
commited72cdc010dcd3926fc71c561d298f56c6720eb6
tree4c41280e1ad37495036bd5ddbe2e75ef2e58d616
parente8f7a95941290fd566d6f6813ee3fb8287926713
Cleanup and fix an assert that was mis-firing.

Note that there is no test suite update. This was found by a couple of
tests failing when the test suite was run on a powerpc64 host (thanks
Roman!). The tests don't specify a triple, which might seem surprising
for a codegen test. But in fact, these tests don't even inspect their
output. Not at all. I could add a bunch of triples to these tests so
that we'd get the test coverage for normal builds, but really someone
needs to go through and add actual *tests* to these tests. =[ The ones
in question are:

  test/CodeGen/bitfield-init.c
  test/CodeGen/union.c

llvm-svn: 169694
clang/lib/CodeGen/CGRecordLayoutBuilder.cpp