================
@@ -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)}
----------------
labath wrote:
Just parachuting here to say I like the idea of separate variables for parts of
the function name. I like how it lets you completely omit (and not just avoid
highlighting) a part of the name. The funny C return types are indeed a problem
but maybe we could solve that by having two variables for the return type (the
part that comes after the name and the part that comes before it).
https://github.com/llvm/llvm-project/pull/131836
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits