Skip to content

Commit 4c738cb

Browse files
committed
cleanup
1 parent 96834df commit 4c738cb

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

clang/lib/Sema/SemaConcept.cpp

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -647,8 +647,6 @@ static bool calculateConstraintSatisfaction(
647647
UnsatisfiedConstraintRecord(
648648
SubstitutedConceptId.getAs<ConceptSpecializationExpr>()
649649
->getConceptReference()));
650-
651-
// Satisfaction.Details.push_back(nullptr);
652650
}
653651
return Ok;
654652
}
@@ -1369,10 +1367,6 @@ static void DiagnoseUnsatisfiedConstraint(
13691367
Sema &S, ArrayRef<UnsatisfiedConstraintRecord> Records, SourceLocation Loc,
13701368
bool First = true, concepts::NestedRequirement *Req = nullptr) {
13711369
for (auto &Record : Records) {
1372-
if (Record.isNull()) {
1373-
First = false;
1374-
continue;
1375-
}
13761370
diagnoseUnsatisfiedConstraintExpr(S, Record, Loc, First, Req);
13771371
Loc = {};
13781372
First = isa<const ConceptReference *>(Record);

0 commit comments

Comments
 (0)