summaryrefslogtreecommitdiff
path: root/src/api
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2020-04-03 18:53:41 -0700
committerGitHub <noreply@github.com>2020-04-03 18:53:41 -0700
commit9d571cb1156e5ed6a6ba8a261b365e7fb5f92914 (patch)
tree76157eb0fb124d3820f2ab6b6ca05993c1481e40 /src/api
parentaeede74491d1db9c5bac771e78b79934ca4ab552 (diff)
New C++ API: Remove Op::getSort(). (#4208)
Diffstat (limited to 'src/api')
-rw-r--r--src/api/cvc4cpp.cpp6
-rw-r--r--src/api/cvc4cpp.h5
-rw-r--r--src/api/python/cvc4.pxi5
3 files changed, 0 insertions, 16 deletions
diff --git a/src/api/cvc4cpp.cpp b/src/api/cvc4cpp.cpp
index 2e6e70d6b..ba42c4a93 100644
--- a/src/api/cvc4cpp.cpp
+++ b/src/api/cvc4cpp.cpp
@@ -1141,12 +1141,6 @@ Kind Op::getKind() const
return d_kind;
}
-Sort Op::getSort() const
-{
- CVC4_API_CHECK_NOT_NULL;
- return Sort(d_expr->getType());
-}
-
bool Op::isNull() const { return isNullHelper(); }
bool Op::isIndexed() const { return isIndexedHelper(); }
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h
index edff95a2f..a2683e773 100644
--- a/src/api/cvc4cpp.h
+++ b/src/api/cvc4cpp.h
@@ -679,11 +679,6 @@ class CVC4_PUBLIC Op
Kind getKind() const;
/**
- * @return the sort of this operator
- */
- Sort getSort() const;
-
- /**
* @return true if this operator is a null term
*/
bool isNull() const;
diff --git a/src/api/python/cvc4.pxi b/src/api/python/cvc4.pxi
index 60bd89cbd..1489b34a6 100644
--- a/src/api/python/cvc4.pxi
+++ b/src/api/python/cvc4.pxi
@@ -191,11 +191,6 @@ cdef class Op:
def getKind(self):
return kind(<int> self.cop.getKind())
- def getSort(self):
- cdef Sort sort = Sort()
- sort.csort = self.cop.getSort()
- return sort
-
def isNull(self):
return self.cop.isNull()
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback