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


_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to