C++: Rename holdsInBase to isBase

Makes it consistent with isOverlay.
This commit is contained in:
Ian Lynagh
2026-01-21 18:13:58 +00:00
parent fbcb65a5d9
commit 5e536fb121

View File

@@ -62,7 +62,7 @@ private string getMultiLocationFilePath(@element e) {
* overlay variant.
*/
overlay[local]
private predicate holdsInBase() { not isOverlay() }
private predicate isBase() { not isOverlay() }
/**
* Discards an element from the base variant if:
@@ -71,7 +71,7 @@ private predicate holdsInBase() { not isOverlay() }
*/
overlay[discard_entity]
private predicate discardElement(@element e) {
holdsInBase() and
isBase() and
(
overlayChangedFiles(getSingleLocationFilePath(e))
or