From: Balazs Keri <1.int32@gmail.com> Date: Mon, 16 Jul 2018 14:05:18 +0000 (+0000) Subject: [ASTImporter] Changed constant int to unsigned int in test code. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=1ab19fc539dac7a6a0713f0bb8ddd4180914b2bc;p=clang [ASTImporter] Changed constant int to unsigned int in test code. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@337172 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/AST/ASTImporterTest.cpp b/unittests/AST/ASTImporterTest.cpp index 8aff6b5df9..cc8ed92faa 100644 --- a/unittests/AST/ASTImporterTest.cpp +++ b/unittests/AST/ASTImporterTest.cpp @@ -2378,7 +2378,7 @@ private: auto *ToClass = FirstDeclMatcher().match( ToTU, ClassMatcher); - ASSERT_EQ(DeclCounter().match(ToClass, MethodMatcher), 1); + ASSERT_EQ(DeclCounter().match(ToClass, MethodMatcher), 1u); { CXXMethodDecl *Method = @@ -2386,7 +2386,7 @@ private: ToClass->removeDecl(Method); } - ASSERT_EQ(DeclCounter().match(ToClass, MethodMatcher), 0); + ASSERT_EQ(DeclCounter().match(ToClass, MethodMatcher), 0u); Decl *ImportedClass = nullptr; {