[lldb] BreakpointResolver::CreateFromStructuredData Gardening (NFC)
authorJonas Devlieghere <jonas@devlieghere.com>
Wed, 16 Feb 2022 18:16:24 +0000 (10:16 -0800)
committerJonas Devlieghere <jonas@devlieghere.com>
Wed, 16 Feb 2022 18:38:05 +0000 (10:38 -0800)
commit6f1ce046fdd02458fe2e3824b865ba4bdf129d67
treee3f349037d58d7ac060d7441412d7b5d0b82fe5d
parent046b772c78a8f6a9728191eda7dae9eb0c766f1b
[lldb] BreakpointResolver::CreateFromStructuredData Gardening (NFC)

 - Use an early return.
 - Check for error.Fail() instead of !error.Success().
 - Check the resolver pointer before using instead of relying on the
   error being set.
lldb/source/Breakpoint/BreakpointResolver.cpp