HomePhabricator

[unittests] Fix "comparison of integers of different signs" warnings

Authored by mstojanovic on Jan 13 2020, 10:27 AM.

Description

[unittests] Fix "comparison of integers of different signs" warnings

A warning is sent because std::distance() returns a signed type so
CmpHelperEQ() gets instantiated into a function that compares
differently signed arguments.

Differential Revision: https://reviews.llvm.org/D72632