[LLVMbugs] [Bug 5925] really confusing errors with missing template argument

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Fri Aug 17 17:57:11 PDT 2012


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

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

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

--- Comment #5 from Richard Smith <richard-llvm at metafoo.co.uk> 2012-08-17 19:57:11 CDT ---
Fixed in r162159. Both testcases now produce diagnostics like this:

<stdin>:4:10: error: use of class template foo requires template arguments
void bar(foo *X) {
         ^
<stdin>:2:7: note: template is declared here
class foo {
      ^

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