Skip to content

Commit 34d7408

Browse files
committed
remove extra curlies
1 parent 178e462 commit 34d7408

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

clang/lib/Sema/SemaDeclCXX.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1681,10 +1681,10 @@ std::optional<unsigned> Sema::GetDecompositionElementCount(QualType T,
16811681
case IsTupleLike::NotTupleLike:
16821682
break;
16831683
}
1684+
16841685
CXXRecordDecl *OrigRD = T->getAsCXXRecordDecl();
1685-
if (!OrigRD || OrigRD->isUnion()) {
1686+
if (!OrigRD || OrigRD->isUnion())
16861687
return std::nullopt;
1687-
}
16881688

16891689
if (RequireCompleteType(Loc, T, diag::err_incomplete_type))
16901690
return std::nullopt;

0 commit comments

Comments
 (0)