junior-jl wrote:

> You could do:

      s->PutCStringColorHighlighted(symbol->GetName().GetStringRef(), pattern,
             target_sp ? target_sp->GetDebugger().GetRegexMatchAnsiPrefix() : 
"", 
             target_sp ? target_sp->GetDebugger().GetRegexMatchAnsiSuffix() : 
"");
             
 I really thought about doing this, but it looked too long, so I gave up, good 
to know it's ok.
 
 > Leave it as is. Sounds like you will end up refactoring it anyway.
 
 Nice! Thank you for all the help so far!

https://github.com/llvm/llvm-project/pull/69422
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to