Skip to content

Commit 5ba67f9

Browse files
committed
Fix typos
1 parent 6f518c1 commit 5ba67f9

File tree

5 files changed

+30
-30
lines changed

5 files changed

+30
-30
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -755,19 +755,19 @@ module Private {
755755
* local steps. `clearsOrExcepts` records whether any node on the path from `p` to
756756
* `n` either clears or expects contents.
757757
*/
758-
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExcepts) {
758+
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExpects) {
759759
viableParam(_, _, _, p) and
760760
n = p and
761-
clearsOrExcepts = false
761+
clearsOrExpects = false
762762
or
763-
exists(Node mid, boolean clearsOrExceptsMid |
764-
paramReachesLocal(p, mid, clearsOrExceptsMid) and
763+
exists(Node mid, boolean clearsOrExpectsMid |
764+
paramReachesLocal(p, mid, clearsOrExpectsMid) and
765765
summaryLocalStep(mid, n, true) and
766766
if
767767
summaryClearsContent(n, _) or
768768
summaryExpectsContent(n, _)
769-
then clearsOrExcepts = true
770-
else clearsOrExcepts = clearsOrExceptsMid
769+
then clearsOrExpects = true
770+
else clearsOrExpects = clearsOrExpectsMid
771771
)
772772
}
773773

java/ql/lib/semmle/code/java/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -755,19 +755,19 @@ module Private {
755755
* local steps. `clearsOrExcepts` records whether any node on the path from `p` to
756756
* `n` either clears or expects contents.
757757
*/
758-
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExcepts) {
758+
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExpects) {
759759
viableParam(_, _, _, p) and
760760
n = p and
761-
clearsOrExcepts = false
761+
clearsOrExpects = false
762762
or
763-
exists(Node mid, boolean clearsOrExceptsMid |
764-
paramReachesLocal(p, mid, clearsOrExceptsMid) and
763+
exists(Node mid, boolean clearsOrExpectsMid |
764+
paramReachesLocal(p, mid, clearsOrExpectsMid) and
765765
summaryLocalStep(mid, n, true) and
766766
if
767767
summaryClearsContent(n, _) or
768768
summaryExpectsContent(n, _)
769-
then clearsOrExcepts = true
770-
else clearsOrExcepts = clearsOrExceptsMid
769+
then clearsOrExpects = true
770+
else clearsOrExpects = clearsOrExpectsMid
771771
)
772772
}
773773

python/ql/lib/semmle/python/dataflow/new/internal/FlowSummaryImpl.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -755,19 +755,19 @@ module Private {
755755
* local steps. `clearsOrExcepts` records whether any node on the path from `p` to
756756
* `n` either clears or expects contents.
757757
*/
758-
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExcepts) {
758+
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExpects) {
759759
viableParam(_, _, _, p) and
760760
n = p and
761-
clearsOrExcepts = false
761+
clearsOrExpects = false
762762
or
763-
exists(Node mid, boolean clearsOrExceptsMid |
764-
paramReachesLocal(p, mid, clearsOrExceptsMid) and
763+
exists(Node mid, boolean clearsOrExpectsMid |
764+
paramReachesLocal(p, mid, clearsOrExpectsMid) and
765765
summaryLocalStep(mid, n, true) and
766766
if
767767
summaryClearsContent(n, _) or
768768
summaryExpectsContent(n, _)
769-
then clearsOrExcepts = true
770-
else clearsOrExcepts = clearsOrExceptsMid
769+
then clearsOrExpects = true
770+
else clearsOrExpects = clearsOrExpectsMid
771771
)
772772
}
773773

ruby/ql/lib/codeql/ruby/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -755,19 +755,19 @@ module Private {
755755
* local steps. `clearsOrExcepts` records whether any node on the path from `p` to
756756
* `n` either clears or expects contents.
757757
*/
758-
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExcepts) {
758+
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExpects) {
759759
viableParam(_, _, _, p) and
760760
n = p and
761-
clearsOrExcepts = false
761+
clearsOrExpects = false
762762
or
763-
exists(Node mid, boolean clearsOrExceptsMid |
764-
paramReachesLocal(p, mid, clearsOrExceptsMid) and
763+
exists(Node mid, boolean clearsOrExpectsMid |
764+
paramReachesLocal(p, mid, clearsOrExpectsMid) and
765765
summaryLocalStep(mid, n, true) and
766766
if
767767
summaryClearsContent(n, _) or
768768
summaryExpectsContent(n, _)
769-
then clearsOrExcepts = true
770-
else clearsOrExcepts = clearsOrExceptsMid
769+
then clearsOrExpects = true
770+
else clearsOrExpects = clearsOrExpectsMid
771771
)
772772
}
773773

swift/ql/lib/codeql/swift/dataflow/internal/FlowSummaryImpl.qll

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -755,19 +755,19 @@ module Private {
755755
* local steps. `clearsOrExcepts` records whether any node on the path from `p` to
756756
* `n` either clears or expects contents.
757757
*/
758-
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExcepts) {
758+
private predicate paramReachesLocal(ParamNode p, Node n, boolean clearsOrExpects) {
759759
viableParam(_, _, _, p) and
760760
n = p and
761-
clearsOrExcepts = false
761+
clearsOrExpects = false
762762
or
763-
exists(Node mid, boolean clearsOrExceptsMid |
764-
paramReachesLocal(p, mid, clearsOrExceptsMid) and
763+
exists(Node mid, boolean clearsOrExpectsMid |
764+
paramReachesLocal(p, mid, clearsOrExpectsMid) and
765765
summaryLocalStep(mid, n, true) and
766766
if
767767
summaryClearsContent(n, _) or
768768
summaryExpectsContent(n, _)
769-
then clearsOrExcepts = true
770-
else clearsOrExcepts = clearsOrExceptsMid
769+
then clearsOrExpects = true
770+
else clearsOrExpects = clearsOrExpectsMid
771771
)
772772
}
773773

0 commit comments

Comments
 (0)