forked from qt-creator/qt-creator
Clang: Improve modified timer checker
Make the algorithm a little bit more clear. Change-Id: I71b04cdd947272edf9fade8f93b7300a945a2fc8 Reviewed-by: Tim Jenssen <tim.jenssen@qt.io>
This commit is contained in:
@@ -89,13 +89,13 @@ bool set_intersection_compare(
|
||||
++first1;
|
||||
} else {
|
||||
if (!comp(*first2, *first1)) {
|
||||
if (call(*first2, *first1++))
|
||||
return false;
|
||||
if (call(*first1++, *first2))
|
||||
return true;
|
||||
}
|
||||
++first2;
|
||||
}
|
||||
}
|
||||
|
||||
return true;
|
||||
return false;
|
||||
}
|
||||
} // namespace ClangBackEnd
|
||||
|
||||
Reference in New Issue
Block a user