Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 63cec52

Browse filesBrowse files
committed
IdentifierHidden: reformat
1 parent 169cbe7 commit 63cec52
Copy full SHA for 63cec52

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎cpp/common/src/codingstandards/cpp/Scope.qll

Copy file name to clipboardExpand all lines: cpp/common/src/codingstandards/cpp/Scope.qll
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -273,9 +273,9 @@ predicate hides(UserDeclaration v1, UserDeclaration v2) {
273273
not exists(UserDeclaration mid |
274274
hides_candidate(v1, mid) and
275275
hides_candidate(mid, v2)
276-
)
276+
) and
277277
//ignore intentional overloads
278-
and not v1.(Function).getAnOverload() = v2
278+
not v1.(Function).getAnOverload() = v2
279279
}
280280

281281
/** Holds if `v2` strictly (`v2` is in an inner scope compared to `v1`) hides `v1`. */

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.