On Mon, May 11, 2009 at 11:58 AM, Daniel Dunbar <[email protected]> wrote:
> +  QualType FT = FD->getType();
> +  // Arrays of empty records count as empty.
> +  if (const ConstantArrayType *AT = Context.getAsConstantArrayType(FT))
> +    if (isEmptyRecord(Context, AT->getElementType()))
> +      return true;

Not that this is really relevant to this fix, but is it intentional
that "struct empty a[10];" and "struct empty a[10][10];" are treated
differently here?

-Eli

_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to