[LLVMbugs] [Bug 9915] New: Clang parses parenthesized identifier as a bitfield

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Sat May 14 06:33:59 PDT 2011


           Summary: Clang parses parenthesized identifier as a bitfield
           Product: clang
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P
         Component: C++
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: schaub.johannes at googlemail.com
                CC: llvmbugs at cs.uiuc.edu, dgregor at apple.com

I think that clang should not accept this according to the spec:

    struct A { int(a) : 1; };

A bitfield has only a plain "identifier_opt" a the start of its

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