summaryrefslogtreecommitdiff
path: root/src/expr/array_store_all.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-04 13:09:39 -0800
committerAndrew Reynolds <andrew.j.reynolds@gmail.com>2018-01-04 15:09:39 -0600
commit256d4093ab6ac3b792c6f1f11131124d1ae6b069 (patch)
treee4034cfb0cd8147d9c670fe150804146bec429d2 /src/expr/array_store_all.cpp
parenta73f9d55155356b90089b00e1a7cc49107a4c587 (diff)
Removing miscellaneous throw specifiers. (#1474)
Diffstat (limited to 'src/expr/array_store_all.cpp')
-rw-r--r--src/expr/array_store_all.cpp22
1 files changed, 14 insertions, 8 deletions
diff --git a/src/expr/array_store_all.cpp b/src/expr/array_store_all.cpp
index ff026057c..65d16d9cc 100644
--- a/src/expr/array_store_all.cpp
+++ b/src/expr/array_store_all.cpp
@@ -65,33 +65,39 @@ ArrayStoreAll& ArrayStoreAll::operator=(const ArrayStoreAll& other) {
return *this;
}
-const ArrayType& ArrayStoreAll::getType() const throw() { return *d_type; }
+const ArrayType& ArrayStoreAll::getType() const { return *d_type; }
-const Expr& ArrayStoreAll::getExpr() const throw() { return *d_expr; }
+const Expr& ArrayStoreAll::getExpr() const { return *d_expr; }
-bool ArrayStoreAll::operator==(const ArrayStoreAll& asa) const throw() {
+bool ArrayStoreAll::operator==(const ArrayStoreAll& asa) const
+{
return getType() == asa.getType() && getExpr() == asa.getExpr();
}
-bool ArrayStoreAll::operator!=(const ArrayStoreAll& asa) const throw() {
+bool ArrayStoreAll::operator!=(const ArrayStoreAll& asa) const
+{
return !(*this == asa);
}
-bool ArrayStoreAll::operator<(const ArrayStoreAll& asa) const throw() {
+bool ArrayStoreAll::operator<(const ArrayStoreAll& asa) const
+{
return (getType() < asa.getType()) ||
(getType() == asa.getType() && getExpr() < asa.getExpr());
}
-bool ArrayStoreAll::operator<=(const ArrayStoreAll& asa) const throw() {
+bool ArrayStoreAll::operator<=(const ArrayStoreAll& asa) const
+{
return (getType() < asa.getType()) ||
(getType() == asa.getType() && getExpr() <= asa.getExpr());
}
-bool ArrayStoreAll::operator>(const ArrayStoreAll& asa) const throw() {
+bool ArrayStoreAll::operator>(const ArrayStoreAll& asa) const
+{
return !(*this <= asa);
}
-bool ArrayStoreAll::operator>=(const ArrayStoreAll& asa) const throw() {
+bool ArrayStoreAll::operator>=(const ArrayStoreAll& asa) const
+{
return !(*this < asa);
}
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback