Silence gcc warning in testcase [NFC]
authorMikael Holmen <mikael.holmen@ericsson.com>
Fri, 28 Jun 2019 06:45:20 +0000 (06:45 +0000)
committerMikael Holmen <mikael.holmen@ericsson.com>
Fri, 28 Jun 2019 06:45:20 +0000 (06:45 +0000)
commit2adab5a1426ed0b68e0d1b6f574b200fa12c1b40
tree1153af203eb89e601cb1c17629d0fae699430245
parente832adea0fff5957845beff970d9134faf242d11
Silence gcc warning in testcase [NFC]

Without the fix gcc (7.4.0) complains with

../unittests/ADT/APIntTest.cpp: In member function 'virtual void {anonymous}::APIntTest_MultiplicativeInverseExaustive_Test::TestBody()':
../unittests/ADT/APIntTest.cpp:2510:36: error: comparison between signed and unsigned integer expressions [-Werror=sign-compare]
     for (unsigned Value = 0; Value < (1 << BitWidth); ++Value) {
                              ~~~~~~^~~~~~~~~~~~~~~~~

llvm-svn: 364624
llvm/unittests/ADT/APIntTest.cpp