We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
getEnclosingCfgScope
1 parent 0329231 commit 274d942Copy full SHA for 274d942
rust/ql/lib/codeql/rust/elements/internal/AstNodeImpl.qll
@@ -46,6 +46,7 @@ module Impl {
46
}
47
48
/** Gets the CFG scope that encloses this node, if any. */
49
+ cached
50
CfgScope getEnclosingCfgScope() {
51
exists(AstNode p | p = this.getParentNode() |
52
result = p
0 commit comments