aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Commands/CommandObjectFrame.cpp
diff options
context:
space:
mode:
authorAlexandre Ganea <alex_toresh@yahoo.fr>2024-01-16 12:32:06 -0500
committerAlexandre Ganea <alex_toresh@yahoo.fr>2024-01-17 07:23:58 -0500
commit9110c2b40215e64b8cb95ff83877bd50d4e365d1 (patch)
treeae3e6eba9bb3c340046dad2c7b54b0bb443d5a8d /lldb/source/Commands/CommandObjectFrame.cpp
parent61b5bf85f0908b75f736c77f619480094697c435 (diff)
downloadllvm-9110c2b40215e64b8cb95ff83877bd50d4e365d1.zip
llvm-9110c2b40215e64b8cb95ff83877bd50d4e365d1.tar.gz
llvm-9110c2b40215e64b8cb95ff83877bd50d4e365d1.tar.bz2
[lldb] On Windows, silence warning with latest MSVC
This fixes: ``` [6083/7449] Building CXX object tools\lldb\source\Commands\CMakeFiles\lldbCommands.dir\CommandObjectFrame.cpp.obj C:\git\llvm-project\lldb\source\Commands\CommandObjectFrame.cpp(497) : warning C4715: 'CommandObjectFrameVariable::ScopeRequested': not all control paths return a value ```
Diffstat (limited to 'lldb/source/Commands/CommandObjectFrame.cpp')
-rw-r--r--lldb/source/Commands/CommandObjectFrame.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/lldb/source/Commands/CommandObjectFrame.cpp b/lldb/source/Commands/CommandObjectFrame.cpp
index e7cb861..17a7e85 100644
--- a/lldb/source/Commands/CommandObjectFrame.cpp
+++ b/lldb/source/Commands/CommandObjectFrame.cpp
@@ -494,6 +494,7 @@ protected:
case eValueTypeVTableEntry:
return false;
}
+ llvm_unreachable("Unexpected scope value");
}
/// Finds all the variables in `all_variables` whose name matches `regex`,