From 9110c2b40215e64b8cb95ff83877bd50d4e365d1 Mon Sep 17 00:00:00 2001 From: Alexandre Ganea Date: Tue, 16 Jan 2024 12:32:06 -0500 Subject: [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 ``` --- lldb/source/Commands/CommandObjectFrame.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'lldb/source/Commands/CommandObjectFrame.cpp') 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`, -- cgit v1.1