fix common misspellings throughout github/codeql

This commit is contained in:
Erik Krogh Kristensen
2022-07-14 23:31:47 +02:00
committed by erik-krogh
parent db614bda29
commit 887f6557ed
39 changed files with 48 additions and 48 deletions

View File

@@ -3,7 +3,7 @@
*
* This test checks several components of the endpoint filters for each query to see whether they
* filter out any known sinks. It explicitly does not check the endpoint filtering step that's based
* on whether the endpoint is an argument to a modelled function, since this necessarily filters out
* on whether the endpoint is an argument to a modeled function, since this necessarily filters out
* all known sinks. However, we can test all the other filtering steps against the set of known
* sinks.
*

View File

@@ -36,7 +36,7 @@ private predicate isNotNeeded(Locatable el) {
el.getLocation().getStartLine() = 0 and
el.getLocation().getStartColumn() = 0
or
// relaxing aggresive type inference.
// relaxing aggressive type inference.
none()
}

View File

@@ -245,7 +245,7 @@ module Routing {
*/
pragma[inline]
private predicate isGuardedByNodeInternal(Node guard) {
// Look for a common ancestor `fork` whose child leading to `guard` ("base1") preceeds
// Look for a common ancestor `fork` whose child leading to `guard` ("base1") precedes
// the child leading to `this` ("base2").
//
// Schematically:

View File

@@ -198,7 +198,7 @@ module XML {
override predicate resolvesEntities(XML::EntityKind kind) { kind = InternalEntity() }
// The result is an XMLDocument (https://developer.mozilla.org/en-US/docs/Web/API/XMLDocument).
// The API of the XMLDocument is not modelled.
// The API of the XMLDocument is not modeled.
override DataFlow::Node getAResult() { result.asExpr() = this }
}

View File

@@ -111,7 +111,7 @@ private MethodSignature getMethodSignatureWithFingerprint(
* Holds if the two method signatures are overloads of each other and have the same parameter types.
*/
predicate signaturesMatch(MethodSignature method, MethodSignature other) {
// the intial search for another overload in a single call for better join-order.
// the initial search for another overload in a single call for better join-order.
other =
getMethodSignatureWithFingerprint(method.getDeclaringType(), method.getName(),
method.getBody().getNumParameter(), getKind(method)) and