summaryrefslogtreecommitdiff
path: root/src/util
diff options
context:
space:
mode:
Diffstat (limited to 'src/util')
-rw-r--r--src/util/options.h2
-rw-r--r--src/util/output.h8
2 files changed, 8 insertions, 2 deletions
diff --git a/src/util/options.h b/src/util/options.h
index 63f1cb99e..d095d98d3 100644
--- a/src/util/options.h
+++ b/src/util/options.h
@@ -29,7 +29,6 @@ struct CVC4_PUBLIC Options {
std::string binary_name;
- bool smtcomp_mode;
bool statistics;
std::ostream *out;
@@ -55,7 +54,6 @@ struct CVC4_PUBLIC Options {
bool memoryMap;
Options() : binary_name(),
- smtcomp_mode(false),
statistics(false),
out(0),
err(0),
diff --git a/src/util/output.h b/src/util/output.h
index 79bdd788e..ea96606cb 100644
--- a/src/util/output.h
+++ b/src/util/output.h
@@ -343,6 +343,14 @@ public:
extern NullDebugC debugNullCvc4Stream CVC4_PUBLIC;
extern NullC nullCvc4Stream CVC4_PUBLIC;
+inline bool debugTagIsOn(std::string tag) {
+#ifdef CVC4_DEBUG
+ return DebugOut.isOn(tag);
+#else
+ return false;
+#endif
+}
+
}/* CVC4 namespace */
#endif /* __CVC4__OUTPUT_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback