diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-09-24 20:55:58 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2012-09-24 20:55:58 +0000 |
commit | 86df00c36c6cbabac53001082219c3fc8c0fa297 (patch) | |
tree | be6865d50b8be133bc7d914fb80b531295021da4 /src/expr/type.cpp | |
parent | 1f48835b7252757bb778a93bdac2d62e1dea59bc (diff) |
some api changes
Diffstat (limited to 'src/expr/type.cpp')
-rw-r--r-- | src/expr/type.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/expr/type.cpp b/src/expr/type.cpp index d67aa1fe3..b55d33dcf 100644 --- a/src/expr/type.cpp +++ b/src/expr/type.cpp @@ -411,19 +411,6 @@ Type::operator SubrangeType() const throw(AssertionException) { return SubrangeType(*this); } -/** Is this a kind type (i.e., the type of a type)? */ -bool Type::isKind() const { - NodeManagerScope nms(d_nodeManager); - return d_typeNode->isKind(); -} - -/** Cast to a kind type */ -Type::operator KindType() const throw(AssertionException) { - NodeManagerScope nms(d_nodeManager); - Assert(isNull() || isKind()); - return KindType(*this); -} - vector<Type> FunctionType::getArgTypes() const { NodeManagerScope nms(d_nodeManager); vector<Type> args; @@ -551,11 +538,6 @@ ArrayType::ArrayType(const Type& t) throw(AssertionException) : Assert(isNull() || isArray()); } -KindType::KindType(const Type& t) throw(AssertionException) : - Type(t) { - Assert(isNull() || isKind()); -} - SortType::SortType(const Type& t) throw(AssertionException) : Type(t) { Assert(isNull() || isSort()); |