[LLVMbugs] [Bug 15017] bad fixit adding ; after struct definition in type specifier

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Mon Jan 28 20:14:09 PST 2013


http://llvm.org/bugs/show_bug.cgi?id=15017

Richard Smith <richard-llvm at metafoo.co.uk> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |richard-llvm at metafoo.co.uk
         Resolution|                            |FIXED

--- Comment #1 from Richard Smith <richard-llvm at metafoo.co.uk> 2013-01-28 22:14:09 CST ---
Fixed in r173766. Now we just get:

a.cc:1:30: error: 'X' can not be defined in a type specifier
template<typename T = struct X { int i; }> struct S {};
                             ^

-- 
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.



More information about the llvm-bugs mailing list