summaryrefslogtreecommitdiff
path: root/src/printer/tptp/tptp_printer.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2017-11-28 09:07:14 -0800
committerGitHub <noreply@github.com>2017-11-28 09:07:14 -0800
commit45497438b85dfc408c974a788e28525f0b5717b9 (patch)
tree75929fcefcb17d5ba58bdffc136ba2ce49b2d622 /src/printer/tptp/tptp_printer.h
parentd552ca179b8723a93c6e0dae61242ceb1ccaa717 (diff)
Removing throw specifiers from internal Printer hierarchy. (#1393)
Diffstat (limited to 'src/printer/tptp/tptp_printer.h')
-rw-r--r--src/printer/tptp/tptp_printer.h26
1 files changed, 19 insertions, 7 deletions
diff --git a/src/printer/tptp/tptp_printer.h b/src/printer/tptp/tptp_printer.h
index 731885068..7e4cc0f83 100644
--- a/src/printer/tptp/tptp_printer.h
+++ b/src/printer/tptp/tptp_printer.h
@@ -28,18 +28,30 @@ namespace printer {
namespace tptp {
class TptpPrinter : public CVC4::Printer {
- void toStream(std::ostream& out, const Model& m, const Command* c) const throw();
-public:
+ public:
using CVC4::Printer::toStream;
- void toStream(std::ostream& out, TNode n, int toDepth, bool types, size_t dag) const throw();
- void toStream(std::ostream& out, const Command* c, int toDepth, bool types, size_t dag) const throw();
- void toStream(std::ostream& out, const CommandStatus* s) const throw();
- void toStream(std::ostream& out, const Model& m) const throw();
+ void toStream(std::ostream& out,
+ TNode n,
+ int toDepth,
+ bool types,
+ size_t dag) const override;
+ void toStream(std::ostream& out,
+ const Command* c,
+ int toDepth,
+ bool types,
+ size_t dag) const override;
+ void toStream(std::ostream& out, const CommandStatus* s) const override;
+ void toStream(std::ostream& out, const Model& m) const override;
/** print unsat core to stream
* We use the expression names stored in the SMT engine associated with the unsat core
* with UnsatCore::getSmtEngine.
*/
- void toStream(std::ostream& out, const UnsatCore& core) const throw();
+ void toStream(std::ostream& out, const UnsatCore& core) const override;
+
+ private:
+ void toStream(std::ostream& out,
+ const Model& m,
+ const Command* c) const override;
};/* class TptpPrinter */
}/* CVC4::printer::tptp namespace */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback