File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
swift/ql/lib/codeql/swift/dataflow/internal Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -31,25 +31,19 @@ DataFlowType getContentType(ContentSet c) { any() }
31
31
32
32
/** Gets the return type of kind `rk` for callable `c`. */
33
33
bindingset [ c]
34
- DataFlowType getReturnType ( SummarizedCallable c , ReturnKind rk ) {
35
- any ( ) // TODO once we have type pruning
36
- }
34
+ DataFlowType getReturnType ( SummarizedCallable c , ReturnKind rk ) { any ( ) }
37
35
38
36
/**
39
37
* Gets the type of the parameter matching arguments at position `pos` in a
40
38
* synthesized call that targets a callback of type `t`.
41
39
*/
42
- DataFlowType getCallbackParameterType ( DataFlowType t , ArgumentPosition pos ) {
43
- any ( ) // TODO once we have type pruning
44
- }
40
+ DataFlowType getCallbackParameterType ( DataFlowType t , ArgumentPosition pos ) { any ( ) }
45
41
46
42
/**
47
43
* Gets the return type of kind `rk` in a synthesized call that targets a
48
44
* callback of type `t`.
49
45
*/
50
- DataFlowType getCallbackReturnType ( DataFlowType t , ReturnKind rk ) {
51
- any ( ) // TODO once we have type pruning
52
- }
46
+ DataFlowType getCallbackReturnType ( DataFlowType t , ReturnKind rk ) { any ( ) }
53
47
54
48
/** Gets the type of synthetic global `sg`. */
55
49
DataFlowType getSyntheticGlobalType ( SummaryComponent:: SyntheticGlobal sg ) { any ( ) }
You can’t perform that action at this time.
0 commit comments