summaryrefslogtreecommitdiffstats
path: root/lldb/source/Target/Process.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2016-01-22 20:26:30 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2016-01-22 20:26:30 +0000
commit27ea26b7c0882a0c2e82422860d354408e825a05 (patch)
treef5fe15f39b519fd57be088e7b8f966af66244347 /lldb/source/Target/Process.cpp
parent6a4e0dd1a68e9fb21255e57cf53adf8c6ca9c114 (diff)
downloadbcm5719-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/Target/Process.cpp')
-rw-r--r--lldb/source/Target/Process.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Target/Process.cpp b/lldb/source/Target/Process.cpp
index c347781f6bd..eb6da794399 100644
--- a/lldb/source/Target/Process.cpp
+++ b/lldb/source/Target/Process.cpp
@@ -1501,6 +1501,7 @@ Process::IsAlive ()
default:
return false;
}
+ llvm_unreachable("unhandled state");
}
// This static callback can be used to watch for local child processes on
OpenPOWER on IntegriCloud