[Lldb-commits] [PATCH] D146783: [lldb] Add ability to hide the root name of a value
Dave Lee via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Mar 24 11:53:13 PDT 2023
kastiglione added inline comments.
================
Comment at: lldb/source/DataFormatters/ValueObjectPrinter.cpp:278
- if (!m_options.m_hide_name) {
+ if (ShowName()) {
if (m_options.m_flat_output)
----------------
jgorbe wrote:
> 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`.
Good call, ShouldShowName is better.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D146783/new/
https://reviews.llvm.org/D146783
More information about the lldb-commits
mailing list