[llvm-bugs] [Bug 48339] Bogus error/note about dependent base classes on template instantiation failure
via llvm-bugs
llvm-bugs at lists.llvm.org
Wed Dec 2 18:03:25 PST 2020
https://bugs.llvm.org/show_bug.cgi?id=48339
Richard Smith <richard-llvm at metafoo.co.uk> changed:
What |Removed |Added
----------------------------------------------------------------------------
Fixed By Commit(s)| |c4fb7720ceb30f25c38d994fb37
| |5e4d1978de144
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> ---
Now diagnosed as:
<stdin>:11:5: error: no matching function for call to 'g'
g(typename T::type{});
^
<stdin>:16:7: note: in instantiation of function template specialization
'S::f<X>' requested here
S{}.f<X>();
^
<stdin>:7:15: note: candidate template ignored: couldn't infer template
argument 'T'
static void g(typename T::type) {}
^
1 error generated.
... as it should be.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20201203/3d06f120/attachment-0001.html>
More information about the llvm-bugs
mailing list