summaryrefslogtreecommitdiff
path: root/src/expr/expr_template.cpp
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-17 12:16:17 -0800
committerGitHub <noreply@github.com>2018-01-17 12:16:17 -0800
commit248b977790b429ebfd22481462193e3e35c57ce2 (patch)
tree9a59a408d113d6a3347f013c2492291769406e82 /src/expr/expr_template.cpp
parent4538f5fe95758f2507c191ab39175491f24e6f67 (diff)
Removes yet more throw specifiers. Updating the documentation as needed. (#1518)
Diffstat (limited to 'src/expr/expr_template.cpp')
-rw-r--r--src/expr/expr_template.cpp13
1 files changed, 4 insertions, 9 deletions
diff --git a/src/expr/expr_template.cpp b/src/expr/expr_template.cpp
index 0ed3601fc..f4dd294a7 100644
--- a/src/expr/expr_template.cpp
+++ b/src/expr/expr_template.cpp
@@ -337,7 +337,8 @@ Expr Expr::getOperator() const {
return Expr(d_exprManager, new Node(d_node->getOperator()));
}
-Type Expr::getType(bool check) const throw (TypeCheckingException) {
+Type Expr::getType(bool check) const
+{
ExprManagerScope ems(*this);
Assert(d_node != NULL, "Unexpected NULL expression pointer!");
PrettyCheckArgument(!d_node->isNull(), this,
@@ -499,14 +500,8 @@ void Expr::toStream(std::ostream& out, int depth, bool types, size_t dag,
d_node->toStream(out, depth, types, dag, language);
}
-Node Expr::getNode() const throw() {
- return *d_node;
-}
-
-TNode Expr::getTNode() const throw() {
- return *d_node;
-}
-
+Node Expr::getNode() const { return *d_node; }
+TNode Expr::getTNode() const { return *d_node; }
Expr Expr::notExpr() const {
Assert(d_exprManager != NULL,
"Don't have an expression manager for this expression!");
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback