aboutsummaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/ScriptInterpreter/Python
diff options
context:
space:
mode:
authorChris Bieneman <chris.bieneman@me.com>2022-04-26 09:46:50 -0500
committerChris Bieneman <chris.bieneman@me.com>2022-04-26 09:57:18 -0500
commit8631c115905ea0662db3d69c16f1edaf9292437f (patch)
tree2eb4bff9a06ba0afca13f08187d8cc85ca8004cb /lldb/source/Plugins/ScriptInterpreter/Python
parent500d677f1d13cd1192f75201e1a08627e2436188 (diff)
downloadllvm-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')
0 files changed, 0 insertions, 0 deletions