[Lldb-commits] [lldb] [lldb][NFC] Replace prefix/suffix variables with ColorSetting (PR #210671)
Raphael Isemann via lldb-commits
lldb-commits at lists.llvm.org
Mon Jul 20 04:59:19 PDT 2026
================
@@ -712,9 +712,10 @@ size_t SourceManager::File::DisplaySourceLines(
// If we should mark the stop column with color codes, then copy the prefix
// and suffix to our color style.
- if (should_show_stop_column_with_ansi(debugger_sp))
- style.selected.Set(debugger_sp->GetStopShowColumnAnsiPrefix(),
- debugger_sp->GetStopShowColumnAnsiSuffix());
+ if (should_show_stop_column_with_ansi(debugger_sp)) {
+ ColorSetting color = debugger_sp->GetStopShowColumnColor();
+ style.selected.Set(color.GetPrefix(), color.GetSuffix());
----------------
Teemperor wrote:
I had a bit of a déjà vu with this class and now I know why!
https://github.com/llvm/llvm-project/pull/210671
More information about the lldb-commits
mailing list