AST: Silence an instance of -Wsign-compare, NFC

Looks this this was added by 68f53960e1.
This commit is contained in:
Duncan P. N. Exon Smith 2020-12-14 14:36:59 -08:00
parent a40db5502b
commit 90d056ceb9
1 changed files with 1 additions and 1 deletions

View File

@ -6096,7 +6096,7 @@ TEST_P(ASTImporterOptionSpecificTestBase, TypedefWithAttribute) {
FirstDeclMatcher<TypedefDecl>().match(TU, typedefDecl(hasName("X")));
auto *ToD = Import(FromD, Lang_CXX17);
ASSERT_TRUE(ToD);
ASSERT_EQ(ToD->getAttrs().size(), 1);
ASSERT_EQ(ToD->getAttrs().size(), 1U);
auto *ToAttr = dyn_cast<AnnotateAttr>(ToD->getAttrs()[0]);
ASSERT_TRUE(ToAttr);
EXPECT_EQ(ToAttr->getAnnotation(), "A");