From a0e3bf4ccb91add6720a8fe1b6726199f890a2df Mon Sep 17 00:00:00 2001 From: Simon Pilgrim Date: Wed, 11 May 2016 21:55:37 +0000 Subject: [PATCH] Fixed msvc warnings git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269242 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/CodeGen/BackendUtil.cpp | 2 ++ 1 file changed, 2 insertions(+) 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 -- 2.50.1