From 27ea26b7c0882a0c2e82422860d354408e825a05 Mon Sep 17 00:00:00 2001 From: Saleem Abdulrasool Date: Fri, 22 Jan 2016 20:26:30 +0000 Subject: Silence -Wreturn-type warnings Address a couple of instances of -Wreturn-type warning from GCC. The switches are covered, add an llvm_unreachable to the end of the functions to silence the warning. NFC. llvm-svn: 258546 --- lldb/source/Expression/ExpressionSourceCode.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp') diff --git a/lldb/source/Expression/ExpressionSourceCode.cpp b/lldb/source/Expression/ExpressionSourceCode.cpp index 93bac62c43c..2601727cf35 100644 --- a/lldb/source/Expression/ExpressionSourceCode.cpp +++ b/lldb/source/Expression/ExpressionSourceCode.cpp @@ -119,6 +119,7 @@ public: default: return false; } + llvm_unreachable("unhandled state"); } private: -- cgit v1.2.3