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.
1 parent 5dd12a7 commit 5730344Copy full SHA for 5730344
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