summaryrefslogtreecommitdiff
path: root/src/theory/arrays
diff options
context:
space:
mode:
authorAndres Notzli <andres.noetzli@gmail.com>2017-03-27 11:40:45 +0200
committerAndres Notzli <andres.noetzli@gmail.com>2017-03-27 12:58:22 +0200
commitf5954a66ac3255fe140049e47a7b56a6fab459b3 (patch)
tree8424cfc0c54d292d4a3de93c019e4982705ac48b /src/theory/arrays
parent0be62eeea95eaf27913e792c17dd79afb96b16cb (diff)
Remove throw qualifiers in type enumerators
This addresses Coverity issues: - 1172154 - 1172156 - 1172157 - 1172158 - 1172159 - 1379612 - 1379612 - 1421430 - 1172166 - 1172144 - 1362709 - 1362696 - 1172145 - 1172147 - 1172148 - 1379610 - 1362772 - 1362676 - 1362704 - 1362749 - 1362876 - 1362843 - 1362837 - 1362881 - 1172223 - 1172155
Diffstat (limited to 'src/theory/arrays')
-rw-r--r--src/theory/arrays/type_enumerator.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/theory/arrays/type_enumerator.h b/src/theory/arrays/type_enumerator.h
index 0208fe52d..25a8ca3f2 100644
--- a/src/theory/arrays/type_enumerator.h
+++ b/src/theory/arrays/type_enumerator.h
@@ -41,7 +41,7 @@ class ArrayEnumerator : public TypeEnumeratorBase<ArrayEnumerator> {
public:
- ArrayEnumerator(TypeNode type, TypeEnumeratorProperties * tep = NULL) throw(AssertionException) :
+ ArrayEnumerator(TypeNode type, TypeEnumeratorProperties * tep = NULL) :
TypeEnumeratorBase<ArrayEnumerator>(type),
d_tep(tep),
d_index(type.getArrayIndexType(), tep),
@@ -87,7 +87,7 @@ public:
}
}
- Node operator*() throw(NoMoreValuesException) {
+ Node operator*() {
if (d_finished) {
throw NoMoreValuesException(getType());
}
@@ -101,7 +101,7 @@ public:
return n;
}
- ArrayEnumerator& operator++() throw() {
+ ArrayEnumerator& operator++() {
Trace("array-type-enum") << "operator++ called, **this = " << **this << std::endl;
if (d_finished) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback