[PATCH] Replace std::auto_ptr with std::unique_ptr in IR unittests
dblaikie at gmail.com
Tue Apr 21 09:24:31 PDT 2015
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the llvm-commits