================ @@ -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)} ---------------- felipepiovezan wrote:
I personally would love to have my custom specifier be just `function.basename` (and sometimes arguments), so having more modular pieces would make sense for me. Also worth mentioning that the fallback could written as part of the specifier itself, using scopes 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