Skip to content

Commit e558cca

Browse files
committed
Fidex formatting
1 parent 5cd7ca3 commit e558cca

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
@@ -6999,16 +6999,17 @@ Sema::BuildCompoundLiteralExpr(SourceLocation LParenLoc, TypeSourceInfo *TInfo,
69996999
// We should diagnose underspecified declaration, unless the identifier has
70007000
// been diagnosed as being a redefinition, since the tag is made anonymous.
70017001
if (Range.fullyContains(TagRange) && Tag->getDecl()->getIdentifier()) {
7002-
Diag(TagRange.getBegin(),
7003-
diag::err_c23_underspecified_object_declaration)
7004-
<< (unsigned)Tag->getDecl()->getTagKind()
7005-
<< Tag->getDecl()->getName() << TagRange;
7002+
Diag(TagRange.getBegin(), diag::err_c23_underspecified_object_declaration)
7003+
<< (unsigned)Tag->getDecl()->getTagKind() << Tag->getDecl()->getName()
7004+
<< TagRange;
70067005
return ExprError();
70077006
}
70087007
} else if (!literalType->isDependentType() &&
7009-
RequireCompleteType(LParenLoc, literalType,
7010-
diag::err_typecheck_decl_incomplete_type,
7011-
SourceRange(LParenLoc, LiteralExpr->getSourceRange().getEnd())))
7008+
RequireCompleteType(
7009+
LParenLoc, literalType,
7010+
diag::err_typecheck_decl_incomplete_type,
7011+
SourceRange(LParenLoc,
7012+
LiteralExpr->getSourceRange().getEnd())))
70127013
return ExprError();
70137014

70147015
InitializedEntity Entity

0 commit comments

Comments
 (0)