[llvm] r234884 - Silencing a -Wreturn-type warning, as the switch is fully-covered; NFC.

Lang Hames lhames at gmail.com
Tue Apr 14 10:02:39 PDT 2015


Thanks Aaron. :)

- Lang.

On Tue, Apr 14, 2015 at 6:26 AM, Aaron Ballman <aaron at aaronballman.com>
wrote:

> Author: aaronballman
> Date: Tue Apr 14 08:26:11 2015
> New Revision: 234884
>
> URL: http://llvm.org/viewvc/llvm-project?rev=234884&view=rev
> Log:
> Silencing a -Wreturn-type warning, as the switch is fully-covered; NFC.
>
> Modified:
>     llvm/trunk/tools/lli/OrcLazyJIT.cpp
>
> Modified: llvm/trunk/tools/lli/OrcLazyJIT.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/tools/lli/OrcLazyJIT.cpp?rev=234884&r1=234883&r2=234884&view=diff
>
> ==============================================================================
> --- llvm/trunk/tools/lli/OrcLazyJIT.cpp (original)
> +++ llvm/trunk/tools/lli/OrcLazyJIT.cpp Tue Apr 14 08:26:11 2015
> @@ -103,6 +103,7 @@ OrcLazyJIT::TransformFtor OrcLazyJIT::cr
>               return std::move(M);
>             };
>    }
> +  llvm_unreachable("Unknown DumpKind");
>  }
>
>  int llvm::runOrcLazyJIT(std::unique_ptr<Module> M, int ArgC, char*
> ArgV[]) {
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150414/c7cf3ca0/attachment.html>


More information about the llvm-commits mailing list