[PATCH: lld] Fix compiler warning on gcc

Andy Gibbs andyg1001 at hotmail.co.uk
Tue Mar 19 12:21:26 PDT 2013


Great, thanks.  Committed in r177424.

Andy


On Tuesday, March 19, 2013 7:10 PM, Shankar Easwaran wrote:

LGTM.

On 3/19/2013 12:48 PM, Andy Gibbs wrote:

Hi,

Attached is a patch that silences a needless warning "control reaches end of 
non-void function" when lld is compiled using gcc.  The patch simply moves 
the llvm_unreachable out of the switch block.

Does anyone have any objection to me committing this patch?

Thanks,

Andy




More information about the llvm-commits mailing list