[PATCH: lld] Fix compiler warning on gcc

Shankar Easwaran shankare at codeaurora.org
Tue Mar 19 11:10:09 PDT 2013


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 be committing this patch?
>
> Thanks,
>
> Andy
>
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits


-- 
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130319/ae7575fb/attachment.html>


More information about the llvm-commits mailing list