From 4d0cdca6f6e73c38115cfd1e9770cb78006077d6 Mon Sep 17 00:00:00 2001 From: David Blaikie Date: Sun, 17 Mar 2013 21:32:54 +0000 Subject: [PATCH] Fix the build broken in r177239 Seems some accidental C++11 crept in there. Reported by the C++98 buildbots. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@177241 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/DIBuilder.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 0622b90b458..34921af645c 100644 --- a/lib/IR/DIBuilder.cpp +++ b/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), };