1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 19:42:54 +02:00

Fix the build broken in r177239

Seems some accidental C++11 crept in there. Reported by the C++98 buildbots.

llvm-svn: 177241
This commit is contained in:
David Blaikie 2013-03-17 21:32:54 +00:00
parent 278b0a6ee4
commit 32d86f85d9

View File

@ -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),
};