Skip to content

Commit 5acbcc4

Browse files
authored
Merge pull request diffblue#4538 from smowton/smowton/feature/virtual-field-sensitive
Make value_sett::field_sensitive a virtual method
2 parents 18459ef + 045637f commit 5acbcc4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/pointer-analysis/value_set.h

+3-1
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,9 @@ class value_sett
6363
return *this;
6464
}
6565

66-
static bool field_sensitive(const irep_idt &id, const typet &type);
66+
/// Determines whether an identifier of a given type should have its fields
67+
/// distinguished. Virtual so that subclasses can override this behaviour.
68+
virtual bool field_sensitive(const irep_idt &id, const typet &type);
6769

6870
/// Matches the location_number field of the instruction that corresponds
6971
/// to this value_sett instance in value_set_domaint's state map

0 commit comments

Comments
 (0)