diff options
author | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-01-22 20:26:30 +0000 |
---|---|---|
committer | Saleem Abdulrasool <compnerd@compnerd.org> | 2016-01-22 20:26:30 +0000 |
commit | 27ea26b7c0882a0c2e82422860d354408e825a05 (patch) | |
tree | f5fe15f39b519fd57be088e7b8f966af66244347 /lldb/source/Expression/ExpressionSourceCode.cpp | |
parent | 6a4e0dd1a68e9fb21255e57cf53adf8c6ca9c114 (diff) | |
download | bcm5719-llvm-27ea26b7c0882a0c2e82422860d354408e825a05.tar.gz bcm5719-llvm-27ea26b7c0882a0c2e82422860d354408e825a05.zip |
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
Diffstat (limited to 'lldb/source/Expression/ExpressionSourceCode.cpp')
-rw-r--r-- | lldb/source/Expression/ExpressionSourceCode.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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: |