Skip to content

Commit 17b4bbe

Browse files
committed
cleanup
1 parent 1edea42 commit 17b4bbe

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
}
@@ -1385,10 +1383,6 @@ static void DiagnoseUnsatisfiedConstraint(
13851383
Sema &S, ArrayRef<UnsatisfiedConstraintRecord> Records, SourceLocation Loc,
13861384
bool First = true, concepts::NestedRequirement *Req = nullptr) {
13871385
for (auto &Record : Records) {
1388-
if (Record.isNull()) {
1389-
First = false;
1390-
continue;
1391-
}
13921386
diagnoseUnsatisfiedConstraintExpr(S, Record, Loc, First, Req);
13931387
Loc = {};
13941388
First = isa<const ConceptReference *>(Record);

0 commit comments

Comments
 (0)