Skip to content

Commit 9110c2b

Browse files
committed
[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 ```
1 parent 61b5bf8 commit 9110c2b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lldb/source/Commands/CommandObjectFrame.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ may even involve JITing and running code in the target program.)");
494494
case eValueTypeVTableEntry:
495495
return false;
496496
}
497+
llvm_unreachable("Unexpected scope value");
497498
}
498499

499500
/// Finds all the variables in `all_variables` whose name matches `regex`,

0 commit comments

Comments
 (0)