Skip to content

Commit 608aba7

Browse files
committed
C#: Delete empty predicate requiresAccessPath.
1 parent d5682f1 commit 608aba7

File tree

1 file changed

+0
-14
lines changed

1 file changed

+0
-14
lines changed

csharp/ql/lib/semmle/code/csharp/dataflow/LibraryTypeDataFlow.qll

Lines changed: 0 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,6 @@ private newtype TAccessPath =
2020
TConsAccessPath(Content head, AccessPath tail) {
2121
tail = TNilAccessPath()
2222
or
23-
exists(LibraryTypeDataFlow ltdf |
24-
ltdf.requiresAccessPath(head, tail) and
25-
tail.length() < accessPathLimit()
26-
)
27-
or
2823
tail = AccessPath::singleton(_) and
2924
head instanceof ElementContent
3025
or
@@ -297,15 +292,6 @@ abstract class LibraryTypeDataFlow extends Type {
297292
none()
298293
}
299294

300-
/**
301-
* Holds if the access path obtained by concatenating `head` onto `tail` is
302-
* needed for a summary specified by `callableFlow()`.
303-
*
304-
* This predicate is needed for QL technical reasons only (the IPA type used
305-
* to represent access paths needs to be bounded).
306-
*/
307-
predicate requiresAccessPath(Content head, AccessPath tail) { none() }
308-
309295
/**
310296
* Holds if values stored inside `content` are cleared on objects passed as
311297
* arguments of type `source` to calls that target `callable`.

0 commit comments

Comments
 (0)