[cfe-users] [clang-format] Trailing return type
Mateusz Loskot via cfe-users
cfe-users at lists.llvm.org
Tue Jul 30 15:17:12 PDT 2019
On Wed, 31 Jul 2019 at 00:14, Mateusz Loskot <mateusz at loskot.net> wrote:
> On Mon, 5 Nov 2018 at 19:27, Mateusz Loskot <mateusz at loskot.net> wrote:
> > On Fri, 2 Nov 2018 at 06:11, Owen Pan <owenpiano at gmail.com> wrote:
> >
> > I noticed one issue which I wonder if it does qualify for a bug report:
> >
> > TL;TR: arrow followed by typename keyword is not handled
> >
> > Before:
> >
> > template <int K, typename E, typename L, int N>
> > auto bbbbbbbbbbbbbbbbbbbbbbb(detail::base<E, L, N>& p) -> typename
> > std::add_lvalue_reference<E>::type;
> >
> > After:
> >
> > template <int K, typename E, typename L, int N>
> > auto bbbbbbbbbbbbbbbbbbbbbbb(detail::base<E, L, N> &p) ->
> > typename std::add_lvalue_reference<E>::type;
>
> FYI, I've reported it as a bug (took me a while!)
>
> https://bugs.llvm.org/show_bug.cgi?id=42835
Looks like thread inter-linking as not quite worked,
so here is old thread
http://lists.llvm.org/pipermail/cfe-users/2018-November/001421.html
Best regards,
--
Mateusz Loskot, http://mateusz.loskot.net
More information about the cfe-users
mailing list