File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
llvm/lib/Transforms/Utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -154,7 +154,7 @@ const Optional<ControlConditions> ControlConditions::collectControlConditions(
154
154
155
155
bool ControlConditions::addControlCondition (ControlCondition C) {
156
156
bool Inserted = false ;
157
- if (none_of (Conditions, [&C ](ControlCondition &Exists) {
157
+ if (none_of (Conditions, [&](ControlCondition &Exists) {
158
158
return ControlConditions::isEquivalent (C, Exists);
159
159
})) {
160
160
Conditions.push_back (C);
@@ -172,8 +172,8 @@ bool ControlConditions::isEquivalent(const ControlConditions &Other) const {
172
172
if (Conditions.size () != Other.Conditions .size ())
173
173
return false ;
174
174
175
- return all_of (Conditions, [&Other ](const ControlCondition &C) {
176
- return any_of (Other.Conditions , [&C ](const ControlCondition &OtherC) {
175
+ return all_of (Conditions, [&](const ControlCondition &C) {
176
+ return any_of (Other.Conditions , [&](const ControlCondition &OtherC) {
177
177
return ControlConditions::isEquivalent (C, OtherC);
178
178
});
179
179
});
You can’t perform that action at this time.
0 commit comments