[llvm] r239814 - Silence an MSVC warning about not all control paths returning a value; NFC.
Alex L
arphaman at gmail.com
Tue Jun 16 09:57:06 PDT 2015
Thanks for the fix, I only saw the warning from the buildbots this morning.
Alex.
2015-06-16 6:14 GMT-07:00 Aaron Ballman <aaron at aaronballman.com>:
> Author: aaronballman
> Date: Tue Jun 16 08:14:59 2015
> New Revision: 239814
>
> URL: http://llvm.org/viewvc/llvm-project?rev=239814&view=rev
> Log:
> Silence an MSVC warning about not all control paths returning a value; NFC.
>
> Modified:
> llvm/trunk/lib/IR/LLVMContext.cpp
>
> Modified: llvm/trunk/lib/IR/LLVMContext.cpp
> URL:
> http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LLVMContext.cpp?rev=239814&r1=239813&r2=239814&view=diff
>
> ==============================================================================
> --- llvm/trunk/lib/IR/LLVMContext.cpp (original)
> +++ llvm/trunk/lib/IR/LLVMContext.cpp Tue Jun 16 08:14:59 2015
> @@ -210,6 +210,7 @@ static const char *getDiagnosticMessageP
> case DS_Note:
> return "note";
> }
> + llvm_unreachable("Unknown DiagnosticSeverity");
> }
>
> void LLVMContext::diagnose(const DiagnosticInfo &DI) {
>
>
> _______________________________________________
> 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/20150616/7cf07c62/attachment.html>
More information about the llvm-commits
mailing list