Skip to content

Commit

Permalink
Fix the build broken in r177239
Browse files Browse the repository at this point in the history
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
  • Loading branch information
dwblaikie committed Mar 17, 2013
1 parent 64d667b commit 4d0cdca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/IR/DIBuilder.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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),
};
Expand Down

0 comments on commit 4d0cdca

Please sign in to comment.