[LLVMbugs] [Bug 14018] New: auto should be allowed on function parameters for C++03

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Oct 4 06:35:28 PDT 2012


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: unassignedclangbugs at nondot.org
        ReportedBy: ulfalizer at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    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.



More information about the llvm-bugs mailing list