================
@@ -489,3 +505,22 @@ OptionValueProperties::GetSubProperty(const 
ExecutionContext *exe_ctx,
   }
   return lldb::OptionValuePropertiesSP();
 }
+
+bool OptionValueProperties::VerifyPath() {
+  OptionValueSP parent = GetParent();
+  if (!parent)
+    // Only the top level value should have an empty path.
+    return m_expected_path.empty();
----------------
JDevlieghere wrote:

Same, plus the coding standards agree with David.

https://github.com/llvm/llvm-project/pull/179524
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to