[LLVMbugs] [Bug 13657] New: comma in default argument confuses parser

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Tue Aug 21 14:26:24 PDT 2012


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

             Bug #: 13657
           Summary: comma in default argument confuses parser
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: talljimbo at gmail.com
                CC: dgregor at apple.com, llvmbugs at cs.uiuc.edu
    Classification: Unclassified


Created attachment 9085
  --> http://llvm.org/bugs/attachment.cgi?id=9085
minimal test case

A comma in a default argument (as part of a templated class, for instance)
seems to confuse the parser; I get "expected parameter declarator" errors with
the attached minimal example.

Clang version is 3.2 (trunk 162287).

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