[LLVMbugs] [Bug 8119] missing typename in function prototype is parsed as variable declaration

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Jul 19 09:35:45 PDT 2012


Seth <seth.cantrell at gmail.com> changed:

           What    |Removed                     |Added
             Status|NEW                         |RESOLVED
                 CC|                            |seth.cantrell at gmail.com
         Resolution|                            |FIXED

--- Comment #1 from Seth <seth.cantrell at gmail.com> 2012-07-19 11:35:45 CDT ---
I just tried this and got the following good diagnostic:

warning: missing 'typename' prior to dependent type name
      'Map<S>::Iterator' [-Wtypename-missing]
  void f1(Map<S>::Iterator v) {

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