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.
1 parent 1bd839c commit f25507eCopy full SHA for f25507e
cpp/common/src/codingstandards/cpp/Scope.qll
@@ -80,6 +80,8 @@ class Scope extends Element {
80
81
Scope getAnAncestor() { result = this.getStrictParent+() }
82
83
+ Scope getAChildScope() { result.getStrictParent() = this }
84
+
85
Scope getStrictParent() { result = Internal::getParentScope(this) }
86
87
Declaration getADeclaration() { Internal::getParentScope(result) = this }
0 commit comments