]> granicus.if.org Git - clang/commitdiff
Fixed msvc warnings
authorSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 11 May 2016 21:55:37 +0000 (21:55 +0000)
committerSimon Pilgrim <llvm-dev@redking.me.uk>
Wed, 11 May 2016 21:55:37 +0000 (21:55 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@269242 91177308-0d34-0410-b5e6-96231b3b80d8

lib/CodeGen/BackendUtil.cpp

index 6c934a8e155e817473a4d18f75508d559699a86b..bffa621a596cef433c284ec95db8f81252539b9a 100644 (file)
@@ -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