r360156 - [ASTImporter] Corrected type of integer constant in a test.
Balazs Keri via cfe-commits
cfe-commits at lists.llvm.org
Tue May 7 07:53:04 PDT 2019
Author: balazske
Date: Tue May 7 07:53:04 2019
New Revision: 360156
URL: http://llvm.org/viewvc/llvm-project?rev=360156&view=rev
Log:
[ASTImporter] Corrected type of integer constant in a test.
Modified:
cfe/trunk/unittests/AST/ASTImporterTest.cpp
Modified: cfe/trunk/unittests/AST/ASTImporterTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/AST/ASTImporterTest.cpp?rev=360156&r1=360155&r2=360156&view=diff
==============================================================================
--- cfe/trunk/unittests/AST/ASTImporterTest.cpp (original)
+++ cfe/trunk/unittests/AST/ASTImporterTest.cpp Tue May 7 07:53:04 2019
@@ -5094,11 +5094,11 @@ TEST_P(ASTImporterOptionSpecificTestBase
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 {};
More information about the cfe-commits
mailing list