From: Simon Pilgrim Date: Wed, 11 May 2016 21:55:37 +0000 (+0000) Subject: Fixed msvc warnings X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a0e3bf4ccb91add6720a8fe1b6726199f890a2df;p=clang Fixed msvc warnings git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269242 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/CodeGen/BackendUtil.cpp b/lib/CodeGen/BackendUtil.cpp index 6c934a8e15..bffa621a59 100644 --- a/lib/CodeGen/BackendUtil.cpp +++ b/lib/CodeGen/BackendUtil.cpp @@ -775,6 +775,7 @@ static const char* getSectionNameForBitcode(const Triple &T) { case Triple::UnknownObjectFormat: return ".llvmbc"; } + llvm_unreachable("Unimplemented ObjectFormatType"); } static const char* getSectionNameForCommandline(const Triple &T) { @@ -786,6 +787,7 @@ static const char* getSectionNameForCommandline(const Triple &T) { case Triple::UnknownObjectFormat: return ".llvmcmd"; } + llvm_unreachable("Unimplemented ObjectFormatType"); } // With -fembed-bitcode, save a copy of the llvm IR as data in the