[ASTImporter] Changed constant int to unsigned int in test code.

llvm-svn: 337172
This commit is contained in:
Balazs Keri 2018-07-16 14:05:18 +00:00
parent 738a6e449e
commit 2f752baa2e
1 changed files with 2 additions and 2 deletions

View File

@ -2378,7 +2378,7 @@ private:
auto *ToClass = FirstDeclMatcher<CXXRecordDecl>().match( auto *ToClass = FirstDeclMatcher<CXXRecordDecl>().match(
ToTU, ClassMatcher); ToTU, ClassMatcher);
ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 1); ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 1u);
{ {
CXXMethodDecl *Method = CXXMethodDecl *Method =
@ -2386,7 +2386,7 @@ private:
ToClass->removeDecl(Method); ToClass->removeDecl(Method);
} }
ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 0); ASSERT_EQ(DeclCounter<CXXMethodDecl>().match(ToClass, MethodMatcher), 0u);
Decl *ImportedClass = nullptr; Decl *ImportedClass = nullptr;
{ {