mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-01-05 08:26:42 +00:00
IR/MetadataTest.cpp: Appease msc17 to avoid initializer list.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@225775 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -370,7 +370,7 @@ TEST_F(MDNodeTest, replaceResolvedOperand) {
|
|||||||
std::unique_ptr<MDNodeFwdDecl> Temp(MDNodeFwdDecl::get(Context, None));
|
std::unique_ptr<MDNodeFwdDecl> Temp(MDNodeFwdDecl::get(Context, None));
|
||||||
Metadata *Ops[] = {nullptr, Temp.get()};
|
Metadata *Ops[] = {nullptr, Temp.get()};
|
||||||
|
|
||||||
MDNode *Empty = MDTuple::get(Context, {});
|
MDNode *Empty = MDTuple::get(Context, ArrayRef<Metadata *>());
|
||||||
MDNode *N = MDTuple::get(Context, Ops);
|
MDNode *N = MDTuple::get(Context, Ops);
|
||||||
EXPECT_EQ(nullptr, N->getOperand(0));
|
EXPECT_EQ(nullptr, N->getOperand(0));
|
||||||
ASSERT_FALSE(N->isResolved());
|
ASSERT_FALSE(N->isResolved());
|
||||||
|
|||||||
Reference in New Issue
Block a user