[LLVMbugs] [Bug 5559] Problems with nested templates

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Nov 23 04:12:52 PST 2009


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


Douglas Gregor <dgregor at apple.com> changed:

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




--- Comment #4 from Douglas Gregor <dgregor at apple.com>  2009-11-23 06:12:51 ---
Fixed here:

 
http://lists.cs.uiuc.edu/pipermail/cfe-commits/Week-of-Mon-20091123/024258.html

With some instructive diagnostics:

t.cc:12:1: warning: extraneous template parameter list in template
      specialization
template<>
^~~~~~~~~~
t.cc:5:8: note: 'template<>' header not required for explicitly-specialized
      class 'Foo<int>' declared here
struct Foo<int>
       ^
2 diagnostics generated.


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