[lld] r263040 - Fixed "not all control paths return a value" warning. NFC.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Wed Mar 9 10:11:06 PST 2016
Thanks!
On Wed, Mar 9, 2016 at 10:05 AM, George Rimar via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: grimar
> Date: Wed Mar 9 12:05:34 2016
> New Revision: 263040
>
> URL: http://llvm.org/viewvc/llvm-project?rev=263040&view=rev
> Log:
> Fixed "not all control paths return a value" warning. NFC.
>
> Modified:
> lld/trunk/ELF/InputFiles.cpp
>
> Modified: lld/trunk/ELF/InputFiles.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/InputFiles.cpp?rev=263040&r1=263039&r2=263040&view=diff
>
> ==============================================================================
> --- lld/trunk/ELF/InputFiles.cpp (original)
> +++ lld/trunk/ELF/InputFiles.cpp Wed Mar 9 12:05:34 2016
> @@ -426,6 +426,7 @@ static uint8_t getGvVisibility(const Glo
> case GlobalValue::ProtectedVisibility:
> return STV_PROTECTED;
> }
> + llvm_unreachable("Unknown visibility");
> }
>
> void BitcodeFile::parse(DenseSet<StringRef> &ComdatGroups) {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160309/042f551a/attachment.html>
More information about the llvm-commits
mailing list