From: Duncan P. N. Exon Smith Date: Fri, 24 Jul 2015 21:11:06 +0000 (+0000) Subject: DI: Fix unit tests after r243160 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=d232d63fa2b13729a1e04b9e9a4d392a0d55c46d;p=oota-llvm.git DI: Fix unit tests after r243160 These always empty fields are gone, so don't test that they're empty. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@243162 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/unittests/IR/MetadataTest.cpp b/unittests/IR/MetadataTest.cpp index b58615ce653..260ce85a71d 100644 --- a/unittests/IR/MetadataTest.cpp +++ b/unittests/IR/MetadataTest.cpp @@ -1260,10 +1260,6 @@ TEST_F(DISubroutineTypeTest, get) { EXPECT_EQ(nullptr, N->getScope()); EXPECT_EQ(nullptr, N->getFile()); EXPECT_EQ("", N->getName()); - EXPECT_EQ(nullptr, N->getBaseType()); - EXPECT_EQ(nullptr, N->getVTableHolder()); - EXPECT_EQ(nullptr, N->getTemplateParams().get()); - EXPECT_EQ("", N->getIdentifier()); } typedef MetadataTest DIFileTest;