Skip to content

Commit 1ee4821

Browse files
committed
Fidex formatting
1 parent 44d103f commit 1ee4821

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

clang/lib/Sema/SemaExpr.cpp

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7138,16 +7138,17 @@ Sema::BuildCompoundLiteralExpr(SourceLocation LParenLoc, TypeSourceInfo *TInfo,
71387138
// We should diagnose underspecified declaration, unless the identifier has
71397139
// been diagnosed as being a redefinition, since the tag is made anonymous.
71407140
if (Range.fullyContains(TagRange) && Tag->getDecl()->getIdentifier()) {
7141-
Diag(TagRange.getBegin(),
7142-
diag::err_c23_underspecified_object_declaration)
7143-
<< (unsigned)Tag->getDecl()->getTagKind()
7144-
<< Tag->getDecl()->getName() << TagRange;
7141+
Diag(TagRange.getBegin(), diag::err_c23_underspecified_object_declaration)
7142+
<< (unsigned)Tag->getDecl()->getTagKind() << Tag->getDecl()->getName()
7143+
<< TagRange;
71457144
return ExprError();
71467145
}
71477146
} else if (!literalType->isDependentType() &&
7148-
RequireCompleteType(LParenLoc, literalType,
7149-
diag::err_typecheck_decl_incomplete_type,
7150-
SourceRange(LParenLoc, LiteralExpr->getSourceRange().getEnd())))
7147+
RequireCompleteType(
7148+
LParenLoc, literalType,
7149+
diag::err_typecheck_decl_incomplete_type,
7150+
SourceRange(LParenLoc,
7151+
LiteralExpr->getSourceRange().getEnd())))
71517152
return ExprError();
71527153

71537154
InitializedEntity Entity

0 commit comments

Comments
 (0)