[lldb] Fix else-after-return in AppleObjCRuntimeV2 (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Tue, 6 Apr 2021 17:03:26 +0000 (10:03 -0700)
committerJonas Devlieghere <jonas@devlieghere.com>
Tue, 6 Apr 2021 17:07:22 +0000 (10:07 -0700)
commit801cea2ce9515cc6b6c9b59dfac6e48074737da1
tree6f2c04b6f9eed48206a238609ee70409764619c3
parent4059c1c32d37ff3738428dcc2a4c98c4677d3a24
[lldb] Fix else-after-return in AppleObjCRuntimeV2 (NFC)

Use early returns to associate the error message with the corresponding
condition and eliminate some else-after-returns in the process.
lldb/source/Plugins/LanguageRuntime/ObjC/AppleObjCRuntime/AppleObjCRuntimeV2.cpp