[llvm-bugs] [Bug 7308] Clang doesn't consider conversion member function template friends.
via llvm-bugs
llvm-bugs at lists.llvm.org
Tue Apr 23 14:43:31 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=7308
Alexander Kornienko <alexfh at google.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |alexfh at google.com
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #3 from Alexander Kornienko <alexfh at google.com> ---
Doesn't crash any more:
$ clang /tmp/q.cc -fsyntax-only
/tmp/q.cc:14:16: error: implicit instantiation of template 'A<int>' within its
own definition
friend A<int>::operator A<double>();
^
1 error generated.
--
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/20190423/fee40eab/attachment-0001.html>
More information about the llvm-bugs
mailing list