mirror of
https://github.com/github/codeql.git
synced 2026-04-28 02:05:14 +02:00
Ruby: Cache use of DataFlowImplForPathname
This commit is contained in:
@@ -27,6 +27,7 @@ module Pathname {
|
||||
* Every `PathnameInstance` is considered to be a `FileNameSource`.
|
||||
*/
|
||||
class PathnameInstance extends FileNameSource {
|
||||
cached
|
||||
PathnameInstance() { any(PathnameConfiguration c).hasFlowTo(this) }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user