[Lldb-commits] [PATCH] D133038: Add SBDebugger::GetSetting() public API
jeffrey tan via Phabricator via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 9 09:38:58 PDT 2022
yinghuitan added inline comments.
================
Comment at: lldb/include/lldb/Interpreter/OptionValueChar.h:34-37
+ if (m_current_value != '\0')
+ return m_current_value;
+ else
+ return "(null)";
----------------
clayborg wrote:
> Since this is actually a character, it should store what ever the character value is. So if the character is zero, it should store zero, not a string "(null)"
I am not sure about this. This mimics what `OptionValueChar::DumpValue()` does. Do we want to keep consistence here?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D133038/new/
https://reviews.llvm.org/D133038
More information about the lldb-commits
mailing list