Skip to content

Commit e231c64

Browse files
committed
spelling: reachable
Signed-off-by: Josh Soref <[email protected]>
1 parent f063904 commit e231c64

File tree

1 file changed

+6
-6
lines changed
  • csharp/ql/lib/semmle/code/csharp/dataflow/internal

1 file changed

+6
-6
lines changed

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

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -803,14 +803,14 @@ private module CapturedVariableImpl {
803803
* Holds if `c` is a relevant part of the call graph for
804804
* `updatesCapturedVariable` based on following edges in forward direction.
805805
*/
806-
private predicate reachbleFromSource(Callable c) {
806+
private predicate reachableFromSource(Callable c) {
807807
source(_, _, _, c, _)
808808
or
809-
exists(Callable mid | reachbleFromSource(mid) | callEdge(mid, c))
809+
exists(Callable mid | reachableFromSource(mid) | callEdge(mid, c))
810810
}
811811

812812
private predicate sink(Callable c, CapturedWrittenLocalScopeVariable captured) {
813-
reachbleFromSource(c) and
813+
reachableFromSource(c) and
814814
relevantDefinition(c, captured, _)
815815
}
816816

@@ -932,14 +932,14 @@ private module CapturedVariableLivenessImpl {
932932
* Holds if `c` is a relevant part of the call graph for
933933
* `readsCapturedVariable` based on following edges in forward direction.
934934
*/
935-
private predicate reachbleFromSource(Callable c) {
935+
private predicate reachableFromSource(Callable c) {
936936
source(_, _, _, c, _)
937937
or
938-
exists(Callable mid | reachbleFromSource(mid) | callEdge(mid, c))
938+
exists(Callable mid | reachableFromSource(mid) | callEdge(mid, c))
939939
}
940940

941941
private predicate sink(Callable c, CapturedReadLocalScopeVariable captured) {
942-
reachbleFromSource(c) and
942+
reachableFromSource(c) and
943943
capturerReads(c, captured)
944944
}
945945

0 commit comments

Comments
 (0)