[Lldb-commits] [lldb] fbccef6 - [lldb] Fix a -Wreturn-type gcc warning in ScriptInterpreter.cpp
Pavel Labath via lldb-commits
lldb-commits at lists.llvm.org
Mon Dec 23 02:07:47 PST 2019
Author: Pavel Labath
Date: 2019-12-23T11:07:35+01:00
New Revision: fbccef6b2553a3e6a7183e259f5a911885d0ddea
URL: https://github.com/llvm/llvm-project/commit/fbccef6b2553a3e6a7183e259f5a911885d0ddea
DIFF: https://github.com/llvm/llvm-project/commit/fbccef6b2553a3e6a7183e259f5a911885d0ddea.diff
LOG: [lldb] Fix a -Wreturn-type gcc warning in ScriptInterpreter.cpp
Added:
Modified:
lldb/source/Interpreter/ScriptInterpreter.cpp
Removed:
################################################################################
diff --git a/lldb/source/Interpreter/ScriptInterpreter.cpp b/lldb/source/Interpreter/ScriptInterpreter.cpp
index 208630dfbdb1..00c460612ac1 100644
--- a/lldb/source/Interpreter/ScriptInterpreter.cpp
+++ b/lldb/source/Interpreter/ScriptInterpreter.cpp
@@ -61,6 +61,7 @@ std::string ScriptInterpreter::LanguageToString(lldb::ScriptLanguage language) {
case eScriptLanguageUnknown:
return "Unknown";
}
+ llvm_unreachable("Unhandled ScriptInterpreter!");
}
lldb::ScriptLanguage
More information about the lldb-commits
mailing list