[Lldb-commits] [lldb] 49d38b1 - Fix "not all control paths return a value" warning. NFC.
Simon Pilgrim via lldb-commits
lldb-commits at lists.llvm.org
Sun Jan 23 07:14:45 PST 2022
Author: Simon Pilgrim
Date: 2022-01-23T15:14:10Z
New Revision: 49d38b1d618c02964af93068ee8e1ac753722104
URL: https://github.com/llvm/llvm-project/commit/49d38b1d618c02964af93068ee8e1ac753722104
DIFF: https://github.com/llvm/llvm-project/commit/49d38b1d618c02964af93068ee8e1ac753722104.diff
LOG: Fix "not all control paths return a value" warning. NFC.
Added:
Modified:
lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
Removed:
################################################################################
diff --git a/lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp b/lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
index c8063915b178d..d1d844bb4ca41 100644
--- a/lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
+++ b/lldb/source/Plugins/Language/CPlusPlus/GenericBitset.cpp
@@ -72,6 +72,7 @@ ConstString GenericBitsetFrontEnd::GetDataContainerMemberName() {
case StdLib::LibStdcpp:
return ConstString("_M_w");
}
+ llvm_unreachable("Unknown StdLib enum");
}
bool GenericBitsetFrontEnd::Update() {
More information about the lldb-commits
mailing list