summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR
diff options
context:
space:
mode:
authorDavid Blaikie <dblaikie@gmail.com>2013-03-17 21:32:54 +0000
committerDavid Blaikie <dblaikie@gmail.com>2013-03-17 21:32:54 +0000
commit5f78b37abe99586ea81d5d3ed6d287d33179a855 (patch)
tree64731b62411bcc7720ed28207c44b66cd17166c5 /llvm/lib/IR
parenta8b60a4fda7fcad844b9603afdcd2a53165c737f (diff)
downloadbcm5719-llvm-5f78b37abe99586ea81d5d3ed6d287d33179a855.tar.gz
bcm5719-llvm-5f78b37abe99586ea81d5d3ed6d287d33179a855.zip
Fix the build broken in r177239
Seems some accidental C++11 crept in there. Reported by the C++98 buildbots. llvm-svn: 177241
Diffstat (limited to 'llvm/lib/IR')
-rw-r--r--llvm/lib/IR/DIBuilder.cpp2
1 files changed, 1 insertions, 1 deletions
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),
};
OpenPOWER on IntegriCloud