Skip to content

Commit b16e4c0

Browse files
committed
Spelling: Use "descendant" rather than "descendent" for consistency
$ git grep -i descendant | wc -l 170
1 parent 678645b commit b16e4c0

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

cpp/ql/lib/semmle/code/cpp/dataflow/internal/FlowVar.qll

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -353,9 +353,9 @@ module FlowVar_internal {
353353
// indirection.
354354
result = def.getAUse(v)
355355
or
356-
exists(SsaDefinition descendentDef |
357-
this.getASuccessorSsaVar+() = TSsaVar(descendentDef, _) and
358-
result = descendentDef.getAUse(v)
356+
exists(SsaDefinition descendantDef |
357+
this.getASuccessorSsaVar+() = TSsaVar(descendantDef, _) and
358+
result = descendantDef.getAUse(v)
359359
)
360360
)
361361
or

docs/codeql/ql-language-reference/formulas.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ For example, ``isThree(x)`` might be a call to a predicate that holds if the arg
154154

155155
A call to a predicate can also contain a closure operator, namely ``*`` or ``+``. For example,
156156
``a.isChildOf+(b)`` is a call to the :ref:`transitive closure <transitive-closures>` of
157-
``isChildOf()``, so it holds if ``a`` is a descendent of ``b``.
157+
``isChildOf()``, so it holds if ``a`` is a descendant of ``b``.
158158

159159
The predicate reference must resolve to exactly one predicate. For more information about how a predicate
160160
reference is resolved, see ":ref:`name-resolution`."

0 commit comments

Comments
 (0)