[lld] r194624 - Remove default label from fully covered switch.

Duncan Exon Smith dexonsmith at apple.com
Wed Nov 13 19:21:20 PST 2013


On Nov 13, 2013, at 3:33 PM, Rui Ueyama <ruiu at google.com> wrote:

>   case NCR_Error:
>     llvm::errs() << "SymbolTable: error while merging " << name << "\n";
> -    // FALLTHRU
> -  default:
> -    llvm::report_fatal_error("SymbolTable::addByName(): unhandled switch clause");
>   }

Was the change in behavior intended, or should you add a new report_fatal_error() call?



More information about the llvm-commits mailing list