summaryrefslogtreecommitdiffstats
path: root/clang/unittests/AST/ASTImporterTest.cpp
diff options
context:
space:
mode:
authorBalazs Keri <1.int32@gmail.com>2019-05-07 14:53:04 +0000
committerBalazs Keri <1.int32@gmail.com>2019-05-07 14:53:04 +0000
commitb7d8cffa75a4d4aadc1b0944fb3e7fc493cde4a3 (patch)
tree6494188db3cc18d80d0a1347b9155140a8ea0bbe /clang/unittests/AST/ASTImporterTest.cpp
parentc635eb725e6e497af5a9b3bc71a0df3c4b67e92c (diff)
downloadbcm5719-llvm-b7d8cffa75a4d4aadc1b0944fb3e7fc493cde4a3.tar.gz
bcm5719-llvm-b7d8cffa75a4d4aadc1b0944fb3e7fc493cde4a3.zip
[ASTImporter] Corrected type of integer constant in a test.
llvm-svn: 360156
Diffstat (limited to 'clang/unittests/AST/ASTImporterTest.cpp')
-rw-r--r--clang/unittests/AST/ASTImporterTest.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/clang/unittests/AST/ASTImporterTest.cpp b/clang/unittests/AST/ASTImporterTest.cpp
index 952e6f92db8..bd5babf46ac 100644
--- a/clang/unittests/AST/ASTImporterTest.cpp
+++ b/clang/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 {};
OpenPOWER on IntegriCloud