Skip to content

Commit 90d056c

Browse files
committed
AST: Silence an instance of -Wsign-compare, NFC
Looks this this was added by 68f5396.
1 parent a40db55 commit 90d056c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

clang/unittests/AST/ASTImporterTest.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6096,7 +6096,7 @@ TEST_P(ASTImporterOptionSpecificTestBase, TypedefWithAttribute) {
60966096
FirstDeclMatcher<TypedefDecl>().match(TU, typedefDecl(hasName("X")));
60976097
auto *ToD = Import(FromD, Lang_CXX17);
60986098
ASSERT_TRUE(ToD);
6099-
ASSERT_EQ(ToD->getAttrs().size(), 1);
6099+
ASSERT_EQ(ToD->getAttrs().size(), 1U);
61006100
auto *ToAttr = dyn_cast<AnnotateAttr>(ToD->getAttrs()[0]);
61016101
ASSERT_TRUE(ToAttr);
61026102
EXPECT_EQ(ToAttr->getAnnotation(), "A");

0 commit comments

Comments
 (0)