On Mon, 5 Nov 2018 at 19:27, Mateusz Loskot <mate...@loskot.net> wrote: > On Fri, 2 Nov 2018 at 06:11, Owen Pan <owenpi...@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 Best regards, -- Mateusz Loskot, http://mateusz.loskot.net _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users