Skip to content

Commit 46a5035

Browse files
authored
Merge pull request #21200 from github/igfoo/rename-holdsInBase-to-isBase
C++: Rename `holdsInBase` to `isBase`
2 parents bb71790 + 5e536fb commit 46a5035

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/lib/semmle/code/cpp/internal/Overlay.qll

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ private string getMultiLocationFilePath(@element e) {
6262
* overlay variant.
6363
*/
6464
overlay[local]
65-
private predicate holdsInBase() { not isOverlay() }
65+
private predicate isBase() { not isOverlay() }
6666

6767
/**
6868
* Discards an element from the base variant if:
@@ -71,7 +71,7 @@ private predicate holdsInBase() { not isOverlay() }
7171
*/
7272
overlay[discard_entity]
7373
private predicate discardElement(@element e) {
74-
holdsInBase() and
74+
isBase() and
7575
(
7676
overlayChangedFiles(getSingleLocationFilePath(e))
7777
or

0 commit comments

Comments
 (0)