reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
3493 S.Diag(AL.getLoc(), diag::warn_attribute_wrong_decl_type) << AL 3500 S.Diag(AL.getLoc(), 3508 S.Diag(AL.getLoc(), diag::warn_transparent_union_attribute_zero_fields); 3515 S.Diag(FirstField->getLocation(), 3523 uint64_t FirstSize = S.Context.getTypeSize(FirstType); 3524 uint64_t FirstAlign = S.Context.getTypeAlign(FirstType); 3534 if (S.Context.getTypeSize(FieldType) != FirstSize || 3535 S.Context.getTypeAlign(FieldType) > FirstAlign) { 3537 bool isSize = S.Context.getTypeSize(FieldType) != FirstSize; 3538 unsigned FieldBits = isSize? S.Context.getTypeSize(FieldType) 3539 : S.Context.getTypeAlign(FieldType); 3540 S.Diag(Field->getLocation(), 3544 S.Diag(FirstField->getLocation(), 3551 RD->addAttr(::new (S.Context) TransparentUnionAttr(S.Context, AL)); 3551 RD->addAttr(::new (S.Context) TransparentUnionAttr(S.Context, AL));