mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
fix common misspellings throughout github/codeql
This commit is contained in:
committed by
erik-krogh
parent
db614bda29
commit
887f6557ed
@@ -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.
|
||||
*
|
||||
|
||||
@@ -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()
|
||||
}
|
||||
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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 }
|
||||
}
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user