[cfe-commits] [PATCH] Use llvm_unreachable in CGIOperandList::ParseOperandName

Rafael Espíndola rafael.espindola at gmail.com
Tue Jan 15 07:44:20 PST 2013


On 15 January 2013 06:05, İsmail Dönmez <ismail at donmez.ws> wrote:
> Hi,
>
> This fixes a warning with old GCCs and more conforming to the usual llvm
> handling of unreachable code.

Is this code that is normally executed on an invalid input? If so, we
should probably mark PrintFatalError noreturn instead.

> Regards,
> ismail
>

Cheers,
Rafael




More information about the cfe-commits mailing list