diff options
author | Balazs Keri <1.int32@gmail.com> | 2019-05-07 14:53:04 +0000 |
---|---|---|
committer | Balazs Keri <1.int32@gmail.com> | 2019-05-07 14:53:04 +0000 |
commit | 71cb0968116c5cf783aebae06b39d6d31f085c2e (patch) | |
tree | 75fcfd0509f3006f32006323cd3d74bf8b22ea4e /unittests/AST/ASTImporterTest.cpp | |
parent | 5195ebbecfce652c838c3cd4a61610c1f9b74e37 (diff) |
[ASTImporter] Corrected type of integer constant in a test.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@360156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/AST/ASTImporterTest.cpp')
-rw-r--r-- | unittests/AST/ASTImporterTest.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unittests/AST/ASTImporterTest.cpp b/unittests/AST/ASTImporterTest.cpp index 952e6f92db..bd5babf46a 100644 --- a/unittests/AST/ASTImporterTest.cpp +++ b/unittests/AST/ASTImporterTest.cpp @@ -5094,11 +5094,11 @@ TEST_P(ASTImporterOptionSpecificTestBase, ImportTemplateParameterLists) { Decl *FromTU = getTuDecl(Code, Lang_CXX); auto *FromD = FirstDeclMatcher<FunctionDecl>().match(FromTU, functionDecl(hasName("f"), isExplicitTemplateSpecialization())); - ASSERT_EQ(FromD->getNumTemplateParameterLists(), 1); + ASSERT_EQ(FromD->getNumTemplateParameterLists(), 1u); auto *ToD = Import(FromD, Lang_CXX); // The template parameter list should exist. - EXPECT_EQ(ToD->getNumTemplateParameterLists(), 1); + EXPECT_EQ(ToD->getNumTemplateParameterLists(), 1u); } struct ASTImporterLookupTableTest : ASTImporterOptionSpecificTestBase {}; |