From 5f78b37abe99586ea81d5d3ed6d287d33179a855 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sun, 17 Mar 2013 21:32:54 +0000 Subject: Fix the build broken in r177239 Seems some accidental C++11 crept in there. Reported by the C++98 buildbots. llvm-svn: 177241 --- llvm/lib/IR/DIBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/lib/IR') diff --git a/llvm/lib/IR/DIBuilder.cpp b/llvm/lib/IR/DIBuilder.cpp index 0622b90b458..34921af645c 100644 --- a/llvm/lib/IR/DIBuilder.cpp +++ b/llvm/lib/IR/DIBuilder.cpp @@ -117,7 +117,7 @@ void DIBuilder::createCompileUnit(unsigned Lang, StringRef Filename, /// for a file. DIFile DIBuilder::createFile(StringRef Filename, StringRef Directory) { assert(!Filename.empty() && "Unable to create file without name"); - Value *Pair[] { + Value *Pair[] = { MDString::get(VMContext, Filename), MDString::get(VMContext, Directory), }; -- cgit v1.2.3