[clang][NFC] clang-format fix after eb10b065f2

This commit is contained in:
Bruno Ricci 2020-07-29 14:49:59 +01:00
parent 1ae63b4179
commit 517fe058d4
No known key found for this signature in database
GPG Key ID: D58C906B2F684D92
1 changed files with 4 additions and 4 deletions

View File

@ -3640,12 +3640,12 @@ static void handleTransparentUnionAttr(Sema &S, Decl *D, const ParsedAttr &AL) {
S.Context.getTypeAlign(FieldType) > FirstAlign) {
// Warn if we drop the attribute.
bool isSize = S.Context.getTypeSize(FieldType) != FirstSize;
unsigned FieldBits = isSize? S.Context.getTypeSize(FieldType)
unsigned FieldBits = isSize ? S.Context.getTypeSize(FieldType)
: S.Context.getTypeAlign(FieldType);
S.Diag(Field->getLocation(),
diag::warn_transparent_union_attribute_field_size_align)
<< isSize << *Field << FieldBits;
unsigned FirstBits = isSize? FirstSize : FirstAlign;
unsigned FirstBits = isSize ? FirstSize : FirstAlign;
S.Diag(FirstField->getLocation(),
diag::note_transparent_union_first_field_size_align)
<< isSize << FirstBits;