labath added inline comments.
================
Comment at: lldb/source/Commands/CommandObjectSettings.cpp:1119-1122
+ if (m_options.m_clear_all) {
+ GetDebugger().GetValueProperties()->Clear();
+ return result.Succeeded();
+ }
----------------
What will happen if I pass both `--all` and an actual setting argument. I think
that should be an error.
================
Comment at: lldb/test/API/commands/settings/TestSettings.py:545-548
+ # Apply Setup commands again.
+ for s in self.setUpCommands():
+ self.runCmd(s)
+
----------------
This dependence on setUpCommands looks weird. Any way we can get rid of that?
Maybe if we check the exact four settings that you modified before `clear
--all` and verifying they have the correct (hardcoded) value? (and maybe not
use the term-width setting, since the default value of that is unpredictable)
Repository:
rLLDB LLDB
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D75537/new/
https://reviews.llvm.org/D75537
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits