llvm-project/clang/test/CXX/special
Richard Smith 2519554134 When diagnosing the lack of a viable conversion function, also list
explicit functions that are not candidates.

It's not always obvious that the reason a conversion was not possible is
because the function you wanted to call is 'explicit', so explicitly say
if that's the case.

It would be nice to rank the explicit candidates higher in the
diagnostic if an implicit conversion sequence exists for their
arguments, but unfortunately we can't determine that without potentially
triggering non-immediate-context errors that we're not permitted to
produce.
2020-01-09 15:15:02 -08:00
..
class.conv/class.conv.ctor
class.copy [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
class.ctor [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
class.dtor [cxx2a] P0641R2: (Some) type mismatches on defaulted functions only 2018-09-28 01:16:43 +00:00
class.free
class.inhctor When diagnosing the lack of a viable conversion function, also list 2020-01-09 15:15:02 -08:00
class.init Fix typos in clang 2018-04-06 15:14:32 +00:00
class.temporary PR24164, PR39336: init-captures are not distinct full-expressions. 2018-10-19 19:01:34 +00:00