From: David Blaikie Date: Sun, 17 Mar 2013 21:32:54 +0000 (+0000) Subject: Fix the build broken in r177239 X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4d0cdca6f6e73c38115cfd1e9770cb78006077d6;p=oota-llvm.git 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 --- 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), };