If a struct field is marked as a bitfield but
didn't need to be, treat it like an ordinary
field.  The Ada front-end likes to mark fields
as bitfields preemptively, so this can occur
quite often for Ada.  What is more, it can
mark non-integer fields as bitfields.  In all
examples I came across so far, these non-integer
bitfields can be treated like ordinary fields.
With this patch, the Ada front-end builds (but
does not bootstrap)!  It is true that the problem
of non-integer bitfields could be handled in the
Ada front-end, but since ignoring silly bitfields
seems like a good idea for all front-ends I chose
to solve it in the generic code.

llvm-svn: 45590
5 files changed