We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 169cbe7 commit 63cec52Copy full SHA for 63cec52
cpp/common/src/codingstandards/cpp/Scope.qll
@@ -273,9 +273,9 @@ predicate hides(UserDeclaration v1, UserDeclaration v2) {
273
not exists(UserDeclaration mid |
274
hides_candidate(v1, mid) and
275
hides_candidate(mid, v2)
276
- )
+ ) and
277
//ignore intentional overloads
278
- and not v1.(Function).getAnOverload() = v2
+ not v1.(Function).getAnOverload() = v2
279
}
280
281
/** Holds if `v2` strictly (`v2` is in an inner scope compared to `v1`) hides `v1`. */
0 commit comments