Skip to content

Commit 85a652f

Browse files
committed
remove a bunch of repeated words
1 parent 2ea2bd8 commit 85a652f

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -699,7 +699,7 @@ private predicate exprToExprStep_nocfg(Expr fromExpr, Expr toExpr) {
699699
call.getTarget() = f and
700700
// AST dataflow treats a reference as if it were the referred-to object, while the dataflow
701701
// models treat references as pointers. If the return type of the call is a reference, then
702-
// look for data flow the the referred-to object, rather than the reference itself.
702+
// look for data flow the referred-to object, rather than the reference itself.
703703
if call.getType().getUnspecifiedType() instanceof ReferenceType
704704
then outModel.isReturnValueDeref()
705705
else outModel.isReturnValue()

cpp/ql/lib/semmle/code/cpp/rangeanalysis/SimpleRangeAnalysis.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1573,7 +1573,7 @@ private module SimpleRangeAnalysisCached {
15731573
result = min([max(getTruncatedUpperBounds(expr)), getGuardedUpperBound(expr)])
15741574
}
15751575

1576-
/** Holds if the upper bound of `expr` may have been widened. This means the the upper bound is in practice likely to be overly wide. */
1576+
/** Holds if the upper bound of `expr` may have been widened. This means the upper bound is in practice likely to be overly wide. */
15771577
cached
15781578
predicate upperBoundMayBeWidened(Expr e) {
15791579
isRecursiveExpr(e) and

csharp/ql/lib/semmle/code/csharp/controlflow/internal/ControlFlowGraphImpl.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ module Expressions {
335335
// ```csharp
336336
// new Dictionary<int, string>() { [0] = "Zero", [1] = "One", [2] = "Two" }
337337
// ```
338-
// need special treatment, because the the accesses `[0]`, `[1]`, and `[2]`
338+
// need special treatment, because the accesses `[0]`, `[1]`, and `[2]`
339339
// have no qualifier.
340340
this = any(MemberInitializer mi).getLValue()
341341
}

csharp/ql/src/Telemetry/ExternalApi.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class ExternalApi extends DotNet::Callable {
8585
defaultAdditionalTaintStep(this.getAnInput(), _)
8686
}
8787

88-
/** Holds if this API is is a constructor without parameters. */
88+
/** Holds if this API is a constructor without parameters. */
8989
private predicate isParameterlessConstructor() {
9090
this instanceof Constructor and this.getNumberOfParameters() = 0
9191
}

go/ql/src/RedundantCode/DuplicateSwitchCase.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
import go
1515

16-
/** Gets the global value number of of `e`, which is the `i`th case label of `switch`. */
16+
/** Gets the global value number of `e`, which is the `i`th case label of `switch`. */
1717
GVN switchCaseGVN(SwitchStmt switch, int i, Expr e) {
1818
e = switch.getCase(i).getExpr(0) and result = e.getGlobalValueNumber()
1919
}

java/ql/src/Telemetry/ExternalApi.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ class ExternalApi extends Callable {
7373
TaintTracking::localAdditionalTaintStep(this.getAnInput(), _)
7474
}
7575

76-
/** Holds if this API is is a constructor without parameters. */
76+
/** Holds if this API is a constructor without parameters. */
7777
private predicate isParameterlessConstructor() {
7878
this instanceof Constructor and this.getNumberOfParameters() = 0
7979
}

python/ql/lib/semmle/python/Frameworks.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* Helper file that imports all framework modeling.
33
*/
44

5-
// If you add modeling of a new framework/library, remember to add it it to the docs in
5+
// If you add modeling of a new framework/library, remember to add it to the docs in
66
// `docs/codeql/support/reusables/frameworks.rst`
77
private import semmle.python.frameworks.Aioch
88
private import semmle.python.frameworks.Aiohttp

python/ql/lib/semmle/python/dataflow/old/TaintTracking.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -333,7 +333,7 @@ abstract class Sanitizer extends string {
333333
/** Holds if `taint` cannot flow through `node`. */
334334
predicate sanitizingNode(TaintKind taint, ControlFlowNode node) { none() }
335335

336-
/** Holds if `call` removes removes the `taint` */
336+
/** Holds if `call` removes the `taint` */
337337
predicate sanitizingCall(TaintKind taint, FunctionObject callee) { none() }
338338

339339
/** Holds if `test` shows value to be untainted with `taint` */

ql/ql/src/codeql_ql/ast/internal/Module.qll

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ private class Folder_ extends ContainerOrModule, TFolder {
7878

7979
override ContainerOrModule getEnclosing() {
8080
result = TFolder(f.getParentContainer()) and
81-
// if this the the root, then we stop.
81+
// if this the root, then we stop.
8282
not exists(f.getFile("qlpack.yml"))
8383
}
8484

ql/ql/src/queries/performance/MissingNomagic.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class CandidatePredicate extends Predicate {
5757
this.getName()
5858
.regexpCapture("(.+)" + ["0", "helper", "aux", "cand", "Helper", "Aux", "Cand"], 1)
5959
or
60-
// Or this this predicate is named "foo02" and `pred` is named "foo01".
60+
// Or this predicate is named "foo02" and `pred` is named "foo01".
6161
exists(int n, string name |
6262
hasNameWithNumberSuffix(pred, name, n) and
6363
hasNameWithNumberSuffix(this, name, n - 1)

0 commit comments

Comments
 (0)