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 1f8e2ba commit 63a60b1Copy full SHA for 63a60b1
cpp/common/src/codingstandards/cpp/Scope.qll
@@ -269,6 +269,8 @@ predicate hasBlockScope(Declaration decl) { exists(BlockStmt b | b.getADeclarati
269
/**
270
* identifiers in nested (named/nonglobal) namespaces are exceptions to hiding due to being able access via fully qualified ids
271
*/
272
+bindingset[outerDecl, innerDecl]
273
+pragma[inline_late]
274
predicate excludedViaNestedNamespaces(UserVariable outerDecl, UserVariable innerDecl) {
275
exists(Namespace inner, Namespace outer |
276
outer.getAChildNamespace+() = inner and
0 commit comments