<div dir="ltr">Thanks for the fix, I only saw the warning from the buildbots this morning.<div><br></div><div>Alex.</div></div><div class="gmail_extra"><br><div class="gmail_quote">2015-06-16 6:14 GMT-07:00 Aaron Ballman <span dir="ltr"><<a href="mailto:aaron@aaronballman.com" target="_blank">aaron@aaronballman.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: aaronballman<br>
Date: Tue Jun 16 08:14:59 2015<br>
New Revision: 239814<br>
<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject-3Frev-3D239814-26view-3Drev&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=-MigBlSpaM_SJwfTpiyh-DzwSczIPT0Le5ogV3KDayc&s=zWLQvqYoEsNfOLTTiAKhHGd_ggokwEVolok-xozaEKA&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=239814&view=rev</a><br>
Log:<br>
Silence an MSVC warning about not all control paths returning a value; NFC.<br>
<br>
Modified:<br>
    llvm/trunk/lib/IR/LLVMContext.cpp<br>
<br>
Modified: llvm/trunk/lib/IR/LLVMContext.cpp<br>
URL: <a href="https://urldefense.proofpoint.com/v2/url?u=http-3A__llvm.org_viewvc_llvm-2Dproject_llvm_trunk_lib_IR_LLVMContext.cpp-3Frev-3D239814-26r1-3D239813-26r2-3D239814-26view-3Ddiff&d=AwMFaQ&c=8hUWFZcy2Z-Za5rBPlktOQ&r=mQ4LZ2PUj9hpadE3cDHZnIdEwhEBrbAstXeMaFoB9tg&m=-MigBlSpaM_SJwfTpiyh-DzwSczIPT0Le5ogV3KDayc&s=JgmLqZsWzqrqIVUK8BhDPWbe8v6nsaoDn0gxwThYHKg&e=" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/LLVMContext.cpp?rev=239814&r1=239813&r2=239814&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/LLVMContext.cpp (original)<br>
+++ llvm/trunk/lib/IR/LLVMContext.cpp Tue Jun 16 08:14:59 2015<br>
@@ -210,6 +210,7 @@ static const char *getDiagnosticMessageP<br>
   case DS_Note:<br>
     return "note";<br>
   }<br>
+  llvm_unreachable("Unknown DiagnosticSeverity");<br>
 }<br>
<br>
 void LLVMContext::diagnose(const DiagnosticInfo &DI) {<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>
<a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>