File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
swift/ql/lib/codeql/swift Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -34,9 +34,7 @@ abstract class RegexPatternSource extends DataFlow::Node {
34
34
* a `Regex`. This is a simple wrapper to make that happen.
35
35
*/
36
36
private class RegexFromRegexPatternSource extends RegExp {
37
- RegexPatternSource node ;
38
-
39
- RegexFromRegexPatternSource ( ) { this = node .asExpr ( ) }
37
+ RegexFromRegexPatternSource ( ) { this = any ( RegexPatternSource node ) .asExpr ( ) }
40
38
}
41
39
42
40
/**
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ private import codeql.regex.HostnameRegexp as Shared
12
12
/**
13
13
* An implementation of the signature that allows the Hostname analysis to run.
14
14
*/
15
- module Impl implements Shared:: HostnameRegexpSig< TreeImpl > {
15
+ private module Impl implements Shared:: HostnameRegexpSig< TreeImpl > {
16
16
class DataFlowNode = DataFlow:: Node ;
17
17
18
18
class RegExpPatternSource = Regex:: RegexPatternSource ;
You can’t perform that action at this time.
0 commit comments