Files
RedBear-OS/local/recipes/dev/libclc/source/lldb/bindings/interface/SBWatchpointDocstrings.i
T
vasilito cb424d7448 build: static patch-sanity linter (shift-left the malformed-patch class)
verify-patch-sanity.py validates every active recipe .patch has internally-
consistent hunk line counts — catching the 'malformed patch at line N' failure
at commit/CI/preflight time instead of hours into a cook. This cycle hit that
class three times (qtwaylandscanner, sddm, xwayland), each only discovered when
cookbook tried to apply the patch.

Running it across the repo found 29 latent malformed patches (validated against
GNU patch: e.g. relibc/P3-sysv-ipc reproduces 'malformed patch at line 22').
They were harmless only because they sit in vendored recipes (baked, not re-
applied) — but would fail on any version-bump re-derivation. --fix recounts the
hunk headers (body untouched) and repaired all 29.

Wired into build-preflight.sh (Phase 1.0D) and redbear-ci.yml, with a unit test
(test-patch-sanity.sh). Skips archived/legacy trees and unvalidatable formats
(empty placeholders, bare-@@ git hunks).
2026-08-01 05:13:02 +03:00

50 lines
1.8 KiB
OpenEdge ABL

%feature("docstring",
"Represents an instance of watchpoint for a specific target program.
A watchpoint is determined by the address and the byte size that resulted in
this particular instantiation. Each watchpoint has its settable options.
See also :py:class:`SBTarget.watchpoint_iter()` for example usage of iterating through the
watchpoints of the target."
) lldb::SBWatchpoint;
%feature("docstring", "
Deprecated. Previously: Return the hardware index of the
watchpoint register. Now: -1 is always returned."
) lldb::SBWatchpoint::GetHardwareIndex;
%feature("docstring", "
Get the condition expression for the watchpoint."
) lldb::SBWatchpoint::GetCondition;
%feature("docstring", "
The watchpoint stops only if the condition expression evaluates to true."
) lldb::SBWatchpoint::SetCondition;
%feature("docstring", "
Returns the type recorded when the watchpoint was created. For variable
watchpoints it is the type of the watched variable. For expression
watchpoints it is the type of the provided expression."
) lldb::SBWatchpoint::GetType;
%feature("docstring", "
Returns the kind of value that was watched when the watchpoint was created.
Returns one of the following eWatchPointValueKindVariable,
eWatchPointValueKindExpression, eWatchPointValueKindInvalid.
"
) lldb::SBWatchpoint::GetWatchValueKind;
%feature("docstring", "
Get the spec for the watchpoint. For variable watchpoints this is the name
of the variable. For expression watchpoints it is empty
(may change in the future)."
) lldb::SBWatchpoint::GetWatchSpec;
%feature("docstring", "
Returns true if the watchpoint is watching reads. Returns false otherwise."
) lldb::SBWatchpoint::IsWatchingReads;
%feature("docstring", "
Returns true if the watchpoint is watching writes. Returns false otherwise."
) lldb::SBWatchpoint::IsWatchingWrites;