llvm-project
3fb86012 - [lldb] Refactor command option printing (#178208)

Commit
36 days ago
[lldb] Refactor command option printing (#178208) So I have an easier time fixing #177570. Changes I have made: * Init a variable inside if statement to reduce scope. * Added const to some variables. * Early return if we print a single line, and dedent the "else" that handles multiple lines. * Only convert lldb's short codes into ansi codes once. * Rename a couple of variables where they could have either referred to the visible text or the raw data with the ansi codes in.
Author
Parents
Loading