File tree Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Expand file tree Collapse file tree 1 file changed +0
-16
lines changed Original file line number Diff line number Diff line change @@ -3939,12 +3939,6 @@ class ConstraintSystem {
3939
3939
// / due to a change.
3940
3940
ConstraintList &getActiveConstraints () { return ActiveConstraints; }
3941
3941
3942
- void findConstraints (SmallVectorImpl<Constraint *> &found,
3943
- llvm::function_ref<bool (const Constraint &)> pred) {
3944
- filterConstraints (ActiveConstraints, pred, found);
3945
- filterConstraints (InactiveConstraints, pred, found);
3946
- }
3947
-
3948
3942
// / Retrieve the representative of the equivalence class containing
3949
3943
// / this type variable.
3950
3944
TypeVariableType *getRepresentative (TypeVariableType *typeVar) const {
@@ -4117,16 +4111,6 @@ class ConstraintSystem {
4117
4111
// / into the worklist.
4118
4112
void addTypeVariableConstraintsToWorkList (TypeVariableType *typeVar);
4119
4113
4120
- static void
4121
- filterConstraints (ConstraintList &constraints,
4122
- llvm::function_ref<bool (const Constraint &)> pred,
4123
- SmallVectorImpl<Constraint *> &found) {
4124
- for (auto &constraint : constraints) {
4125
- if (pred (constraint))
4126
- found.push_back (&constraint);
4127
- }
4128
- }
4129
-
4130
4114
public:
4131
4115
4132
4116
// / Coerce the given expression to an rvalue, if it isn't already.
You can’t perform that action at this time.
0 commit comments