Fix GCC -Wreturn-type warnings. NFC.
authorMichael Liao <michael.hliao@gmail.com>
Wed, 2 Oct 2019 04:13:17 +0000 (04:13 +0000)
committerMichael Liao <michael.hliao@gmail.com>
Wed, 2 Oct 2019 04:13:17 +0000 (04:13 +0000)
llvm-svn: 373422

llvm/include/llvm/BinaryFormat/Dwarf.h

index 21962bf..21cdc6a 100644 (file)
@@ -230,6 +230,7 @@ inline bool isCPlusPlus(SourceLanguage S) {
   case DW_LANG_hi_user:
     return false;
   }
+  llvm_unreachable("Invalid source language");
 }
 
 enum CaseSensitivity {