Skip to content

Commit caf679f

Browse files
committed
Test
1 parent e16ced3 commit caf679f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/AST/ExprConstant.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11046,8 +11046,8 @@ bool RecordExprEvaluator::VisitCXXConstructExpr(const CXXConstructExpr *E,
1104611046
bool ZeroInit = E->requiresZeroInitialization();
1104711047
if (CheckTrivialDefaultConstructor(Info, E->getExprLoc(), FD, ZeroInit)) {
1104811048
// If we've already performed zero-initialization, we're already done.
11049-
if (Result.hasValue())
11050-
return true;
11049+
if (Result.hasValue()) {
11050+
}
1105111051

1105211052
if (ZeroInit)
1105311053
return ZeroInitialization(E, T);

0 commit comments

Comments
 (0)