summaryrefslogtreecommitdiff
path: root/src/theory/rewriter_attributes.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2018-01-15 22:47:40 -0800
committerGitHub <noreply@github.com>2018-01-15 22:47:40 -0800
commit4538f5fe95758f2507c191ab39175491f24e6f67 (patch)
tree9b288d3601692488e02c10adebf7f90b227981a0 /src/theory/rewriter_attributes.h
parent9ee67c0d1180c7cf85fb648b57bb47100db3d633 (diff)
Removing more miscellaneous throw specifiers. (#1509)
Removing more miscellaneous throw specifiers. Also fixing the spelling of amount in several places.
Diffstat (limited to 'src/theory/rewriter_attributes.h')
-rw-r--r--src/theory/rewriter_attributes.h12
1 files changed, 8 insertions, 4 deletions
diff --git a/src/theory/rewriter_attributes.h b/src/theory/rewriter_attributes.h
index ec120ff0c..60fa3a417 100644
--- a/src/theory/rewriter_attributes.h
+++ b/src/theory/rewriter_attributes.h
@@ -35,7 +35,8 @@ struct RewriteAttibute {
/**
* Get the value of the pre-rewrite cache.
*/
- static Node getPreRewriteCache(TNode node) throw() {
+ static Node getPreRewriteCache(TNode node)
+ {
Node cache;
if (node.hasAttribute(pre_rewrite())) {
node.getAttribute(pre_rewrite(), cache);
@@ -52,7 +53,8 @@ struct RewriteAttibute {
/**
* Set the value of the pre-rewrite cache.
*/
- static void setPreRewriteCache(TNode node, TNode cache) throw() {
+ static void setPreRewriteCache(TNode node, TNode cache)
+ {
Trace("rewriter") << "setting pre-rewrite of " << node << " to " << cache << std::endl;
Assert(!cache.isNull());
if (node == cache) {
@@ -66,7 +68,8 @@ struct RewriteAttibute {
* Get the value of the post-rewrite cache.
* none).
*/
- static Node getPostRewriteCache(TNode node) throw() {
+ static Node getPostRewriteCache(TNode node)
+ {
Node cache;
if (node.hasAttribute(post_rewrite())) {
node.getAttribute(post_rewrite(), cache);
@@ -83,7 +86,8 @@ struct RewriteAttibute {
/**
* Set the value of the post-rewrite cache. v cannot be a null Node.
*/
- static void setPostRewriteCache(TNode node, TNode cache) throw() {
+ static void setPostRewriteCache(TNode node, TNode cache)
+ {
Assert(!cache.isNull());
Trace("rewriter") << "setting rewrite of " << node << " to " << cache << std::endl;
if (node == cache) {
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback