We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 78735b2 + 5730344 commit 979ae3dCopy full SHA for 979ae3d
lib/IRGen/GenStruct.cpp
@@ -657,7 +657,7 @@ namespace {
657
});
658
659
bool hasRequiresClause =
660
- copyConstructor->getTrailingRequiresClause() != nullptr;
+ !copyConstructor->getTrailingRequiresClause().isNull();
661
662
if (hasRequiresClause || hasCopyableIfAttr) {
663
ctx.Diags.diagnose(copyConstructorLoc, diag::maybe_missing_annotation,
0 commit comments