summaryrefslogtreecommitdiff
path: root/Source/AbsInt
diff options
context:
space:
mode:
authorGravatar Dan Liew <daniel.liew@imperial.ac.uk>2015-01-25 20:51:44 +0000
committerGravatar Dan Liew <daniel.liew@imperial.ac.uk>2015-01-25 20:51:44 +0000
commitffcf2c27da335ff452a0c2388c33195ff59c8550 (patch)
tree7814f6a96e0ff07557d6a45a16354eadc37c2e22 /Source/AbsInt
parent75a170c34ad60fda22961045cfcdb89fda3f4571 (diff)
Change the return type of StandardVisitor.VisitExistsExpr() from
ExistsExpr to Expr. Enforcing the return type be ExistsExpr is too restrictive. For example it prevents anyone from implementing a visitor that does constant folding of an Expr tree. There is precedence for this. For example VisitNAryExpr() returns an Expr not an NAryExpr. Unfortunately this a breaking API change so anyone who subclasses the StandardVisitor (or one of its sub classes) and overrides this method will get compilation errors until they change the return type. a visitor that does constant folding of an Expr tree
Diffstat (limited to 'Source/AbsInt')
0 files changed, 0 insertions, 0 deletions