Skip to content

Commit 4395657

Browse files
committed
clang format
1 parent ee833d1 commit 4395657

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11243,8 +11243,7 @@ bool RecordExprEvaluator::VisitCastExpr(const CastExpr *E) {
1124311243
// flatten the source
1124411244
SmallVector<APValue> SrcEls;
1124511245
SmallVector<QualType> SrcTypes;
11246-
if (!flattenAPValue(Info.Ctx, Val, SE->getType(), SrcEls, SrcTypes,
11247-
NEls))
11246+
if (!flattenAPValue(Info.Ctx, Val, SE->getType(), SrcEls, SrcTypes, NEls))
1124811247
return Error(E);
1124911248

1125011249
// cast the elements and construct our struct result
@@ -13622,8 +13621,7 @@ bool ArrayExprEvaluator::VisitCastExpr(const CastExpr *E) {
1362213621
// flatten the source
1362313622
SmallVector<APValue> SrcEls;
1362413623
SmallVector<QualType> SrcTypes;
13625-
if (!flattenAPValue(Info.Ctx, Val, SE->getType(), SrcEls, SrcTypes,
13626-
NEls))
13624+
if (!flattenAPValue(Info.Ctx, Val, SE->getType(), SrcEls, SrcTypes, NEls))
1362713625
return Error(E);
1362813626

1362913627
// cast the elements

0 commit comments

Comments
 (0)