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

Richard Smith <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |[email protected]
         Resolution|---                         |WONTFIX

--- Comment #1 from Richard Smith <[email protected]> ---
Sorry, it's not feasible for us to fix this; this would require significant
flow analysis that is beyond the scope of what we want to do in the compiler
frontend. If you want this level of sophistication, the clang static analyzer
might work for you.

You can work around this with something like:

  switch( value )
  {
      case AnEnumA: __builtin_unreachable(); // handled above
      case AnEnumB: // ...

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