[llvm] r177241 - Fix the build broken in r177239
Michael Gottesman
mgottesman at apple.com
Sun Mar 17 14:35:24 PDT 2013
Thanks Dave!
On Mar 17, 2013, at 2:32 PM, David Blaikie <dblaikie at gmail.com> wrote:
> Author: dblaikie
> Date: Sun Mar 17 16:32:54 2013
> New Revision: 177241
>
> URL: http://llvm.org/viewvc/llvm-project?rev=177241&view=rev
> Log:
> Fix the build broken in r177239
>
> Seems some accidental C++11 crept in there. Reported by the C++98 buildbots.
>
> Modified:
> llvm/trunk/lib/IR/DIBuilder.cpp
>
> Modified: llvm/trunk/lib/IR/DIBuilder.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DIBuilder.cpp?rev=177241&r1=177240&r2=177241&view=diff
> ==============================================================================
> --- llvm/trunk/lib/IR/DIBuilder.cpp (original)
> +++ llvm/trunk/lib/IR/DIBuilder.cpp Sun Mar 17 16:32:54 2013
> @@ -117,7 +117,7 @@ void DIBuilder::createCompileUnit(unsign
> /// 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),
> };
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list