When printing a value, allow the root value's name to be elided, without omiting the
names of child values.
At the API level, this adds SetHideRootName(), which joins the existing
SetHideName() function.
This functionality is used by dwim-print and expression.
Fixes an issue identified by @jgorbe in https://reviews.llvm.org/D145609.
This method name reads like a command, rather than a predicate. What about something like ShouldShowName or ShouldPrintName? This would also match the style of other method names already in this file such as ShouldPrintValueObject.