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 {
39393939 // / due to a change.
39403940 ConstraintList &getActiveConstraints () { return ActiveConstraints; }
39413941
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-
39483942 // / Retrieve the representative of the equivalence class containing
39493943 // / this type variable.
39503944 TypeVariableType *getRepresentative (TypeVariableType *typeVar) const {
@@ -4117,16 +4111,6 @@ class ConstraintSystem {
41174111 // / into the worklist.
41184112 void addTypeVariableConstraintsToWorkList (TypeVariableType *typeVar);
41194113
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-
41304114public:
41314115
41324116 // / Coerce the given expression to an rvalue, if it isn't already.
You can’t perform that action at this time.
0 commit comments