r297702 - [CodeGen][ObjC] Fix a bug where the type of an ivar wasn't encoded
Joerg Sonnenberger via cfe-commits
cfe-commits at lists.llvm.org
Mon Jun 12 12:03:10 PDT 2017
On Thu, Jun 01, 2017 at 05:58:41PM -0700, Akira Hatanaka wrote:
> It crashes when there is an anonymous ivar of a bitfield type.
>
> @interface FormatScanner {
> int : 1;
> }
> @end
>
> @implementation FormatScanner
> @end
>
> I'm not sure if the code above is valid or not, but out of curiosity,
> why would you want an anonymous bitfield variable?
It's a reduced test case. The original test case has a variable name in
it.
Joerg
More information about the cfe-commits
mailing list