[llvm] r207597 - Fix the build with MSVC 2013 by explicitly requesting llvm::make_unique

David Blaikie dblaikie at gmail.com
Tue Apr 29 19:58:26 PDT 2014


On Tue, Apr 29, 2014 at 5:34 PM, Chandler Carruth <chandlerc at google.com> wrote:
>
> On Tue, Apr 29, 2014 at 4:54 PM, Reid Kleckner <reid at kleckner.net> wrote:
>>
>> MSVC 2013 provides std::make_unique, which it finds with ADL when one of
>> the parameters is std::unique_ptr, leading to an ambiguous overload.
>
>
> Should we replace our version with a using declaration when we're using a
> sufficiently modern MSVC?

Sounds reasonable to me

- David



More information about the llvm-commits mailing list