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

           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: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]


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.
_______________________________________________
LLVMbugs mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/llvmbugs

Reply via email to