mirror of
https://github.com/github/codeql.git
synced 2026-04-29 02:35:15 +02:00
add pragma[inline] to getAnAliasedSourceNode
This commit is contained in:
@@ -416,6 +416,7 @@ module AccessPath {
|
||||
/**
|
||||
* Gets a SourceNode that is accessed using the same access path as the input.
|
||||
*/
|
||||
pragma[inline]
|
||||
DataFlow::SourceNode getAnAliasedSourceNode(DataFlow::Node node) {
|
||||
exists(DataFlow::SourceNode root, string accessPath |
|
||||
node = AccessPath::getAReferenceTo(root, accessPath) and
|
||||
|
||||
Reference in New Issue
Block a user