llvm.org GIT mirror llvm / 16a6d38
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 NAKAMURA Takumi 5 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
369369 std::unique_ptr Temp(MDNodeFwdDecl::get(Context, None));
370370 Metadata *Ops[] = {nullptr, Temp.get()};
371371
372 MDNode *Empty = MDTuple::get(Context, {});
372 MDNode *Empty = MDTuple::get(Context, ArrayRef());
373373 MDNode *N = MDTuple::get(Context, Ops);
374374 EXPECT_EQ(nullptr, N->getOperand(0));
375375 ASSERT_FALSE(N->isResolved());