forked from OSchip/llvm-project
Fix signed/unsigned compare warning I introduced
'size' of a vector is unsigned, and I accidentially compared it to an int through GTEST. I switched it to unsigned, which is the template parameter type anyway. llvm-svn: 324625
This commit is contained in:
parent
6aafc8b308
commit
fa3e722597
|
@ -279,7 +279,7 @@ TEST(TargetParserTest, testARMCPU) {
|
|||
"7-S"));
|
||||
}
|
||||
|
||||
static constexpr int NumARMCPUArchs = 82;
|
||||
static constexpr unsigned NumARMCPUArchs = 82;
|
||||
|
||||
TEST(TargetParserTest, testARMCPUArchList) {
|
||||
SmallVector<StringRef, NumARMCPUArchs> List;
|
||||
|
@ -761,7 +761,7 @@ TEST(TargetParserTest, testAArch64CPU) {
|
|||
"8-A"));
|
||||
}
|
||||
|
||||
static constexpr int NumAArch64CPUArchs = 19;
|
||||
static constexpr unsigned NumAArch64CPUArchs = 19;
|
||||
|
||||
TEST(TargetParserTest, testAArch64CPUArchList) {
|
||||
SmallVector<StringRef, NumAArch64CPUArchs> List;
|
||||
|
|
Loading…
Reference in New Issue