r269242 - Fixed msvc warnings

Simon Pilgrim via cfe-commits cfe-commits at lists.llvm.org
Wed May 11 14:55:39 PDT 2016


Author: rksimon
Date: Wed May 11 16:55:37 2016
New Revision: 269242

URL: http://llvm.org/viewvc/llvm-project?rev=269242&view=rev
Log:
Fixed msvc warnings

Modified:
    cfe/trunk/lib/CodeGen/BackendUtil.cpp

Modified: cfe/trunk/lib/CodeGen/BackendUtil.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/CodeGen/BackendUtil.cpp?rev=269242&r1=269241&r2=269242&view=diff
==============================================================================
--- cfe/trunk/lib/CodeGen/BackendUtil.cpp (original)
+++ cfe/trunk/lib/CodeGen/BackendUtil.cpp Wed May 11 16:55:37 2016
@@ -775,6 +775,7 @@ static const char* getSectionNameForBitc
   case Triple::UnknownObjectFormat:
     return ".llvmbc";
   }
+  llvm_unreachable("Unimplemented ObjectFormatType");
 }
 
 static const char* getSectionNameForCommandline(const Triple &T) {
@@ -786,6 +787,7 @@ static const char* getSectionNameForComm
   case Triple::UnknownObjectFormat:
     return ".llvmcmd";
   }
+  llvm_unreachable("Unimplemented ObjectFormatType");
 }
 
 // With -fembed-bitcode, save a copy of the llvm IR as data in the




More information about the cfe-commits mailing list