Skip to content

Commit 5e536fb

Browse files
committed
C++: Rename holdsInBase to isBase
Makes it consistent with isOverlay.
1 parent fbcb65a commit 5e536fb

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)