aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/libclang/LibclangTest.cpp
diff options
context:
space:
mode:
authorCameron Desrochers <cameron@moodycamel.com>2016-08-18 20:56:48 +0000
committerCameron Desrochers <cameron@moodycamel.com>2016-08-18 20:56:48 +0000
commit6700b4910e201efc850b0b24ef87de26180097b7 (patch)
treebc727fb15cb21b0a56fb40b6e314ac8c01f69eed /clang/unittests/libclang/LibclangTest.cpp
parent32661f9d660b435033335e91ac7a26a53d55626a (diff)
downloadllvm-6700b4910e201efc850b0b24ef87de26180097b7.zip
llvm-6700b4910e201efc850b0b24ef87de26180097b7.tar.gz
llvm-6700b4910e201efc850b0b24ef87de26180097b7.tar.bz2
Fixed more signed/unsigned mismatch warnings introduced in my change at r279076
llvm-svn: 279145
Diffstat (limited to 'clang/unittests/libclang/LibclangTest.cpp')
-rw-r--r--clang/unittests/libclang/LibclangTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/clang/unittests/libclang/LibclangTest.cpp b/clang/unittests/libclang/LibclangTest.cpp
index 715e525..f2a96d6 100644
--- a/clang/unittests/libclang/LibclangTest.cpp
+++ b/clang/unittests/libclang/LibclangTest.cpp
@@ -439,23 +439,23 @@ TEST_F(LibclangParseTest, AllSkippedRanges) {
nullptr, 0, TUFlags);
CXSourceRangeList *Ranges = clang_getAllSkippedRanges(ClangTU);
- EXPECT_EQ(2u, Ranges->count);
+ EXPECT_EQ(2U, Ranges->count);
CXSourceLocation cxl;
unsigned line;
cxl = clang_getRangeStart(Ranges->ranges[0]);
clang_getSpellingLocation(cxl, nullptr, &line, nullptr, nullptr);
- EXPECT_EQ(1, line);
+ EXPECT_EQ(1U, line);
cxl = clang_getRangeEnd(Ranges->ranges[0]);
clang_getSpellingLocation(cxl, nullptr, &line, nullptr, nullptr);
- EXPECT_EQ(3, line);
+ EXPECT_EQ(3U, line);
cxl = clang_getRangeStart(Ranges->ranges[1]);
clang_getSpellingLocation(cxl, nullptr, &line, nullptr, nullptr);
- EXPECT_EQ(2, line);
+ EXPECT_EQ(2U, line);
cxl = clang_getRangeEnd(Ranges->ranges[1]);
clang_getSpellingLocation(cxl, nullptr, &line, nullptr, nullptr);
- EXPECT_EQ(4, line);
+ EXPECT_EQ(4U, line);
clang_disposeSourceRangeList(Ranges);
}