diff options
author | Andrew Reynolds <andrew.j.reynolds@gmail.com> | 2020-03-06 14:27:10 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-06 14:27:10 -0600 |
commit | 89337334236176bff2d561c42b9b55ab9d91bd62 (patch) | |
tree | a7ca068313b3625865bedc425a9607b814e5868e /src/api | |
parent | b9347f7d0ca130f85df103e5271536a165a04a64 (diff) |
Remove tester name from APIs (#3929)
This removes the field "tester name" from the Expr-level and Term-level APIs. This field is an artifact of parsing and thus should be handled in the parsers.
This refactor uncovered an issue in our regressions, namely our smt version >= 2.6 was not strictly complaint, since the symbol is-cons was being automatically defined for testers of constructors cons. This disables this behavior when strict mode is enabled. It updates the regressions with this issue.
This is work towards parser migration.
Diffstat (limited to 'src/api')
-rw-r--r-- | src/api/cvc4cpp.cpp | 5 | ||||
-rw-r--r-- | src/api/cvc4cpp.h | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/api/cvc4cpp.cpp b/src/api/cvc4cpp.cpp index 63ebdbea6..3b28e2f5c 100644 --- a/src/api/cvc4cpp.cpp +++ b/src/api/cvc4cpp.cpp @@ -1959,11 +1959,6 @@ Term DatatypeConstructor::getTesterTerm() const return tst; } -std::string DatatypeConstructor::getTesterName() const -{ - return d_ctor->getTesterName(); -} - size_t DatatypeConstructor::getNumSelectors() const { return d_ctor->getNumArgs(); diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h index 3317348fe..db29359c5 100644 --- a/src/api/cvc4cpp.h +++ b/src/api/cvc4cpp.h @@ -1412,11 +1412,6 @@ class CVC4_PUBLIC DatatypeConstructor Term getTesterTerm() const; /** - * @return the tester name for this Datatype constructor. - */ - std::string getTesterName() const; - - /** * @return the number of selectors (so far) of this Datatype constructor. */ size_t getNumSelectors() const; |