[LLVMbugs] [Bug 8012] New: clang c++ incorrectly accepts operator name as parameter name
    bugzilla-daemon at llvm.org 
    bugzilla-daemon at llvm.org
       
    Fri Aug 27 13:26:03 PDT 2010
    
    
  
http://llvm.org/bugs/show_bug.cgi?id=8012
           Summary: clang c++ incorrectly accepts operator name as
                    parameter name
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: sharparrow1 at yahoo.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com
Testcase:
void f(void operator+());
I believe [dcl.fct]p10 makes this invalid: operator+ isn't an identifier, and
the standard says "An identifier can optionally be provided as a parameter
name...".
-- 
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