[PATCH] Replace std::auto_ptr with std::unique_ptr in IR unittests
dblaikie at gmail.com
Tue Apr 21 21:42:31 PDT 2015
Sure thing - committed in r235479.
Thanks for the patch!
On Tue, Apr 21, 2015 at 11:53 AM, Xan López <xan at igalia.com> wrote:
> I do not have commit rights, could you or someone else commit the patch for me?
> On Tue, Apr 21, 2015 at 09:24:31AM -0700, David Blaikie wrote:
>> On Tue, Apr 21, 2015 at 3:32 AM, Xan López <xan at igalia.com> wrote:
>> > std::auto_ptr is deprecated in GCC 5.x, so this will not compile out
>> > of the box. We also seem to be using std::unique_ptr all over the
>> > place anyway.
>> > The unit test seems to run just fine after the change.
>> Looks good - please commit.
>> (one day I might get around to having these IR factory functions return by
>> unique_ptr to simplify this sort of code... one day)
>> > _______________________________________________
>> > 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