[LLVMbugs] [Bug 9243] New: poor "duplicate case" diagnostic with enums

bugzilla-daemon at llvm.org bugzilla-daemon at llvm.org
Thu Feb 17 18:03:31 PST 2011


           Summary: poor "duplicate case" diagnostic with enums
           Product: clang
           Version: unspecified
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: normal
          Priority: P
         Component: Frontend
        AssignedTo: unassignedclangbugs at nondot.org
        ReportedBy: clattner at apple.com
                CC: llvmbugs at cs.uiuc.edu

I got this today:

CGDecl.cpp:85:8: error: duplicate case value '6'
  case Decl::Label:        // __label__ x;
CGDecl.cpp:73:8: note: previous case defined here
  case Decl::Label:

It should say "duplicate case value 'Decl::Label'"

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