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

           Summary: clang misparses parameter with same name as containing
                    class
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: parser
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


Testcase:
class a {int b(int a[10]);};
<stdin>:1:21: error: array has incomplete element type 'void'
class a {int b(int a[10]);};
                    ^

I think there's something wrong with the usage of isCurrentClassName, but I'm
not sure whether Parser or Sema is at fault here.


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