Skip to content

Commit 9f34bf8

Browse files
committed
Ruby: Cache use of DataFlowImplForPathname
1 parent 5cadd3c commit 9f34bf8

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/ql/lib/codeql/ruby/frameworks/stdlib/Pathname.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ module Pathname {
2727
* Every `PathnameInstance` is considered to be a `FileNameSource`.
2828
*/
2929
class PathnameInstance extends FileNameSource {
30+
cached
3031
PathnameInstance() { any(PathnameConfiguration c).hasFlowTo(this) }
3132
}
3233

0 commit comments

Comments
 (0)