llvm-project
0ef66fcc - [lldb] Use CreateOptionParsingError in CommandObjectBreakpoint (#83086)

Commit
1 year ago
[lldb] Use CreateOptionParsingError in CommandObjectBreakpoint (#83086) This updates the remaining SetOptionValue methods in CommandObjectBreakpoint to use CreateOptionParsingError. I found a few minor bugs that were fixed during this refactor (e.g. using the wrong flag in an error message). That is one of the benefits of centralizing error message creation. I also found some option parsing code that is written incorrectly. I do not make an attempt to update those here because this PR is primarily about changing existing error handling code, not adding new error handling code.
Author
Parents
Loading