Skip to content

Commit 032847f

Browse files
committed
Ruby: inline getContents
1 parent e09a5e8 commit 032847f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ruby/ql/lib/codeql/ruby/ApiGraphs.qll

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -268,6 +268,7 @@ module API {
268268
/**
269269
* Gets a node representing the `contents` stored on the base object.
270270
*/
271+
pragma[inline]
271272
Node getContents(DataFlow::ContentSet contents) {
272273
// We always use getAStoreContent when generating the graph, and we always use getAReadContent when querying the graph.
273274
result = this.getContent(contents.getAReadContent())

0 commit comments

Comments
 (0)