[llvm] 96ae86b - [test] Silence compiler warning.
Michael Kruse via llvm-commits
llvm-commits at lists.llvm.org
Mon Feb 28 16:47:23 PST 2022
Author: Michael Kruse
Date: 2022-02-28T18:46:55-06:00
New Revision: 96ae86bd2940164c40c68d9d24743594fdca29cb
URL: https://github.com/llvm/llvm-project/commit/96ae86bd2940164c40c68d9d24743594fdca29cb
DIFF: https://github.com/llvm/llvm-project/commit/96ae86bd2940164c40c68d9d24743594fdca29cb.diff
LOG: [test] Silence compiler warning.
signed/unsigned comparison in gtest macro.
Also fix buidlbots:
https://lab.llvm.org/buildbot#builders/36/builds/18337
https://lab.llvm.org/buildbot#builders/57/builds/15594
Added:
Modified:
llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
index 54f797283061f..b01507c58ce8b 100644
--- a/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
+++ b/llvm/unittests/Frontend/OpenMPIRBuilderTest.cpp
@@ -1972,7 +1972,7 @@ TEST_F(OpenMPIRBuilderTest, StaticWorkShareLoop) {
}
TEST_P(OpenMPIRBuilderTestWithIVBits, StaticChunkedWorkshareLoop) {
- int IVBits = GetParam();
+ unsigned IVBits = GetParam();
using InsertPointTy = OpenMPIRBuilder::InsertPointTy;
OpenMPIRBuilder OMPBuilder(*M);
More information about the llvm-commits
mailing list