[Lldb-commits] [lldb] [LLDB] Set and verify paths of properties from tablegen (PR #179524)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Feb 9 02:22:41 PST 2026


================
@@ -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


More information about the lldb-commits mailing list