diff options
author | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-11-28 09:48:07 +0000 |
---|---|---|
committer | Dan Liew <daniel.liew@imperial.ac.uk> | 2016-11-28 15:08:08 +0000 |
commit | 3946c3232512e436891d299243c9986a5f6e1e4c (patch) | |
tree | 63ddb553c3754899a3a52039b5d73ed2a598a1ad /lib/Expr | |
parent | 48d20142488fbd644b1be53f42d30517adc59f6f (diff) | |
download | klee-3946c3232512e436891d299243c9986a5f6e1e4c.tar.gz |
Remove default implementation of `Expr::compareContents(const Expr&)`
and make it a pure virtual method. Also make it protected rather than public because it is an implementation detail of `Expr::compare()`. This means that sub classes must implement it so this commit also provides implementations. The comparision behaves as before except for `ConcatExpr` where its `width` attribute is now used (previously it wasn't). This commit also documents the semantics of `Expr::compareContents(const Expr&)` which was clearly needed because it has been incorrectly implemented in the past and has gone unnoticed for several years. This partially addresses #515 .
Diffstat (limited to 'lib/Expr')
0 files changed, 0 insertions, 0 deletions