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

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

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

--- Comment #5 from Richard Smith <richard-l...@metafoo.co.uk> ---
We now diagnose this as:

<stdin>:14:6: error: identifier 'Class' after '~' in destructor name does not
name a type
    ~Class() {} // expected class name after ~ to name a destructor
     ^~~~~
     Class
<stdin>:13:28: note: non-type declaration found by destructor name lookup
    using base_t<Args...>::Class;
                           ^

... which seems to identify the problem much more clearly: the name 'Class' is
a non-type name.

-- 
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