diff options
| author | Chris Bieneman <chris.bieneman@me.com> | 2022-04-26 09:46:50 -0500 |
|---|---|---|
| committer | Chris Bieneman <chris.bieneman@me.com> | 2022-04-26 09:57:18 -0500 |
| commit | 8631c115905ea0662db3d69c16f1edaf9292437f (patch) | |
| tree | 2eb4bff9a06ba0afca13f08187d8cc85ca8004cb /lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h | |
| parent | 500d677f1d13cd1192f75201e1a08627e2436188 (diff) | |
| download | llvm-8631c115905ea0662db3d69c16f1edaf9292437f.zip llvm-8631c115905ea0662db3d69c16f1edaf9292437f.tar.gz llvm-8631c115905ea0662db3d69c16f1edaf9292437f.tar.bz2 | |
[SPIRV][NFC] Fix warnings for switch cases
Switch statements that cover all cases should not have a `default`
case. When a switch covers all cases and includes a `default` case,
clang emits a diagnostic. Omitting the `default` case allows the
compiler to instead emit a diagnostic on unhandled enum values.
This change removes default cases from all the places that they
shouldn't be, and adds a missing enum case for one switch statement
that wasn't covering all values.
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptedProcessPythonInterface.h')
0 files changed, 0 insertions, 0 deletions
