[cfe-dev] Recent failing tests in libc++

Marshall Clow via cfe-dev cfe-dev at lists.llvm.org
Mon May 28 14:09:55 PDT 2018


On Mon, May 28, 2018 at 12:51 PM, Marshall Clow <mclow.lists at gmail.com>
wrote:

> This past week, I checked in a bunch of code (and tests) having to do with
> the deduction guides features of C++17 - adding support for many of the
> standard library types. Some of the tests started failing - mostly (but not
> exclusively) on ARM. JF tried to fix some of the tests on Friday, but was
> not completely successful.
>
> Today, I took a fresh look at the failures, and realized that all but one
> of them were on bots that were running clang-5.  It appears that clang-5
> has a bug where it mis-deduces the template arguments when it is handed
> something that looks like a copy constructor. (Alternately, it implicitly
> generates an incorrect template deduction guide and uses that.)
>

Another possible diagnosis is that clang-5 generates no implicit deduction
guides - and only uses the explicitly provided ones.

-- Marshall
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20180528/c555269a/attachment.html>


More information about the cfe-dev mailing list