[llvm] r373422 - Fix GCC -Wreturn-type warnings. NFC.
Michael Liao via llvm-commits
llvm-commits at lists.llvm.org
Tue Oct 1 21:13:17 PDT 2019
Author: hliao
Date: Tue Oct 1 21:13:17 2019
New Revision: 373422
URL: http://llvm.org/viewvc/llvm-project?rev=373422&view=rev
Log:
Fix GCC -Wreturn-type warnings. NFC.
Modified:
llvm/trunk/include/llvm/BinaryFormat/Dwarf.h
Modified: llvm/trunk/include/llvm/BinaryFormat/Dwarf.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/BinaryFormat/Dwarf.h?rev=373422&r1=373421&r2=373422&view=diff
==============================================================================
--- llvm/trunk/include/llvm/BinaryFormat/Dwarf.h (original)
+++ llvm/trunk/include/llvm/BinaryFormat/Dwarf.h Tue Oct 1 21:13:17 2019
@@ -230,6 +230,7 @@ inline bool isCPlusPlus(SourceLanguage S
case DW_LANG_hi_user:
return false;
}
+ llvm_unreachable("Invalid source language");
}
enum CaseSensitivity {
More information about the llvm-commits
mailing list