Skip to content

Commit 979ae3d

Browse files
authored
Merge pull request #84599 from swiftlang/jepa-rebranch
IRGen: Fix rebranch build
2 parents 78735b2 + 5730344 commit 979ae3d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/IRGen/GenStruct.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -657,7 +657,7 @@ namespace {
657657
});
658658

659659
bool hasRequiresClause =
660-
copyConstructor->getTrailingRequiresClause() != nullptr;
660+
!copyConstructor->getTrailingRequiresClause().isNull();
661661

662662
if (hasRequiresClause || hasCopyableIfAttr) {
663663
ctx.Diags.diagnose(copyConstructorLoc, diag::maybe_missing_annotation,

0 commit comments

Comments
 (0)