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 {
3434 * a `Regex`. This is a simple wrapper to make that happen.
3535 */
3636private class RegexFromRegexPatternSource extends RegExp {
37- RegexPatternSource node ;
38-
39- RegexFromRegexPatternSource ( ) { this = node .asExpr ( ) }
37+ RegexFromRegexPatternSource ( ) { this = any ( RegexPatternSource node ) .asExpr ( ) }
4038}
4139
4240/**
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ private import codeql.regex.HostnameRegexp as Shared
1212/**
1313 * An implementation of the signature that allows the Hostname analysis to run.
1414 */
15- module Impl implements Shared:: HostnameRegexpSig< TreeImpl > {
15+ private module Impl implements Shared:: HostnameRegexpSig< TreeImpl > {
1616 class DataFlowNode = DataFlow:: Node ;
1717
1818 class RegExpPatternSource = Regex:: RegexPatternSource ;
You can’t perform that action at this time.
0 commit comments