[PATCH: lld] Fix compiler warning on gcc
Andy Gibbs
andyg1001 at hotmail.co.uk
Tue Mar 19 10:48:40 PDT 2013
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 be committing this patch?
Thanks,
Andy
-------------- next part --------------
A non-text attachment was scrubbed...
Name: lld.diff
Type: application/octet-stream
Size: 581 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130319/c8100ad4/attachment.obj>
More information about the llvm-commits
mailing list