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

             Bug #: 14018
           Summary: auto should be allowed on function parameters for
                    C++03
           Product: clang
           Version: 3.0
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected], [email protected]
    Classification: Unclassified


void f(auto int a) is currently rejected, but 14882:2003/7.1.1.2 says

"The auto or register specifiers can be applied only to names of objects
declared in a block (6.3) or to function parameters (8.4)."

-- 
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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to