[Lldb-commits] [lldb] [lldb][NFCI] Minor refactor to CommandObjectProcessHandle::VerifyCommandOptionValue (PR #79901)

Alex Langford via lldb-commits lldb-commits at lists.llvm.org
Mon Jan 29 16:56:29 PST 2024


================
@@ -1591,24 +1591,24 @@ class CommandObjectProcessHandle : public CommandObjectParsed {
 
   Options *GetOptions() override { return &m_options; }
 
-  bool VerifyCommandOptionValue(const std::string &option, int &real_value) {
-    bool okay = true;
+  std::optional<bool> VerifyCommandOptionValue(const std::string &option) {
----------------
bulbazord wrote:

I was actually in the middle of doing that when I found `VerifyCommandOptionValue`. I was going to upload a PR for it after removing this.

https://github.com/llvm/llvm-project/pull/79901


More information about the lldb-commits mailing list