From 2f8f0547b107eb666d68458653861b91fc9b964c Mon Sep 17 00:00:00 2001 From: NAKAMURA Takumi Date: Tue, 13 Jan 2015 08:13:46 +0000 Subject: [PATCH] IR/MetadataTest.cpp: Appease msc17 to avoid initializer list. llvm-svn: 225775 --- llvm/unittests/IR/MetadataTest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llvm/unittests/IR/MetadataTest.cpp b/llvm/unittests/IR/MetadataTest.cpp index d07199c..9f5d133 100644 --- a/llvm/unittests/IR/MetadataTest.cpp +++ b/llvm/unittests/IR/MetadataTest.cpp @@ -370,7 +370,7 @@ TEST_F(MDNodeTest, replaceResolvedOperand) { std::unique_ptr Temp(MDNodeFwdDecl::get(Context, None)); Metadata *Ops[] = {nullptr, Temp.get()}; - MDNode *Empty = MDTuple::get(Context, {}); + MDNode *Empty = MDTuple::get(Context, ArrayRef()); MDNode *N = MDTuple::get(Context, Ops); EXPECT_EQ(nullptr, N->getOperand(0)); ASSERT_FALSE(N->isResolved()); -- 2.7.4