diff options
author | Jakub Kuderski <jakub@nod-labs.com> | 2025-10-05 06:27:59 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-10-05 06:27:59 -0400 |
commit | f61789f5f6788322d8864f2c32021fd552f3f7b4 (patch) | |
tree | dde49ac0cf4f24e4149371d3a1d5799d95760690 /lldb/test/API/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py | |
parent | 90d5795a3da3c336bda3c9f9c2f85210395cf676 (diff) | |
download | llvm-f61789f5f6788322d8864f2c32021fd552f3f7b4.zip llvm-f61789f5f6788322d8864f2c32021fd552f3f7b4.tar.gz llvm-f61789f5f6788322d8864f2c32021fd552f3f7b4.tar.bz2 |
[ADT] Add `DefaultUnreachable("msg")` to StringSwitch (#161976)
Similar to TypeSwitch (#161970), allow for explicit unreachable default
case with a custom error message on unhandled cases.
StringSwitch already allowed for checking if any of the cases matched
with the conversion operator, but `DefaultUnreachable` is more explicit
and allows for a custom message.
Diffstat (limited to 'lldb/test/API/functionalities/non-overlapping-index-variable-i/TestIndexVariable.py')
0 files changed, 0 insertions, 0 deletions