================ @@ -2074,6 +2076,64 @@ static const Definition *FindEntry(const llvm::StringRef &format_str, return parent; } +/// Parses a single highlighting format specifier. +/// +/// Example syntax for such specifier: +/// \code +/// ${function.name-with-args:%highlight_basename(ansi.fg.green)} ---------------- Michael137 wrote:
Yea i think we can make that work. I got something working with the following: ``` settings set frame-format "${function.return-left}${function.scope}${function.basename}${function.template-arguments}${function.arguments}${function.return-right}${function.qualifiers}\n" ``` The concept of "left" vs. "right" parts of the return type already exists in the demangler when printing the name. So I borrowed that terminology. If people are happy with this syntax I'll update this PR https://github.com/llvm/llvm-project/pull/131836 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits