diff options
author | David Blaikie <dblaikie@gmail.com> | 2013-03-17 21:32:54 +0000 |
---|---|---|
committer | David Blaikie <dblaikie@gmail.com> | 2013-03-17 21:32:54 +0000 |
commit | 4d0cdca6f6e73c38115cfd1e9770cb78006077d6 (patch) | |
tree | 7bd1def1d864e4057dea36208a6bdb00b35aaf07 /lib/IR/DIBuilder.cpp | |
parent | 64d667bc07051426a70d6957ab64afa695fc9ee9 (diff) |
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
Diffstat (limited to 'lib/IR/DIBuilder.cpp')
-rw-r--r-- | lib/IR/DIBuilder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/IR/DIBuilder.cpp b/lib/IR/DIBuilder.cpp index 0622b90b45..34921af645 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), }; |