Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix zero-sized fields in struct initializers
For things like: struct S { union { int a; int[0] b; int c;} } we need to recognize that a and c are part of the same union. We need to check the size as well as the offset.
- Loading branch information
Don Clugston
committed
Apr 15, 2011
1 parent
31528d9
commit 4e78123
Showing
1 changed file
with
18 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters