[LLVMbugs] [Bug 3948] New: clang misparses parameter with same name as containing class
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Sun Apr 5 17:41:21 PDT 2009
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: unassignedclangbugs at nondot.org
ReportedBy: sharparrow1 at yahoo.com
CC: llvmbugs at cs.uiuc.edu
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.
More information about the llvm-bugs
mailing list