[lldb] Remove nested switches from ARMGetSupportedArchitectureAtIndex (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Sat, 6 Nov 2021 03:31:07 +0000 (20:31 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Sat, 6 Nov 2021 04:12:00 +0000 (21:12 -0700)
commit05fbe758906ea27344391bd27817b19788bbce91
tree29ca41ce65aded5396b2952d831a24a571c20dcf
parentc0d22dd0e745868a12662b843b9653fdad1154d8
[lldb] Remove nested switches from ARMGetSupportedArchitectureAtIndex (NFC)

Remove the nested switches from the ARMGetSupportedArchitectureAtIndex
implementation.

Differential revision: https://reviews.llvm.org/D113155
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.cpp
lldb/source/Plugins/Platform/MacOSX/PlatformDarwin.h
lldb/unittests/Platform/PlatformDarwinTest.cpp