https://bugs.llvm.org/show_bug.cgi?id=42071

Richard Smith <richard-l...@metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
         Resolution|---                         |FIXED
             Status|NEW                         |RESOLVED

--- Comment #1 from Richard Smith <richard-l...@metafoo.co.uk> ---
Interesting. This issue predates the commit in question; all versions of clang
accept:

// operator name as name of template parameter
template<int operator+> struct X {};

// template-id as name of template parameter
template<typename T> struct Y {};
template<int Y<int> > struct Z {};

// qualified-id as name of template parameter
struct Q {};
template<int Q::Z> struct R {};


The relevant commit causes us to start additionally accepting this case:

template <int A<void> > struct C;

(where A is not declared at all).

Fixed in r363446.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to