https://github.com/labath approved this pull request.

Having separate variables for these makes sense since they are kind of showing 
completely different information (demangler will show you the types, while the 
formatter will show you names and values), but I think that a single variable 
makes sense as well ("just show me something about the arguments").

As for the syntax for alternatives, I was suggesting (privately, I think) to 
use `:-`, as that what 
[bash](https://www.gnu.org/software/bash/manual/html_node/Shell-Parameter-Expansion.html)
 uses for conditional expansion (and the formatter language feels more like 
bash than C). However, I am having some doubts about that now since the way 
you're thinking of using it is not exactly bash-like (the `:-` thingy only 
works for a single variable, but I think you want to mostly use it on the block 
level (and bash doesn't have blocks))

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

Reply via email to