From 1ab19fc539dac7a6a0713f0bb8ddd4180914b2bc Mon Sep 17 00:00:00 2001 From: Balazs Keri <1.int32@gmail.com> Date: Mon, 16 Jul 2018 14:05:18 +0000 Subject: [PATCH] [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 --- unittests/AST/ASTImporterTest.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; { -- 2.50.1