diff options
author | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-05-04 21:57:57 +0000 |
---|---|---|
committer | Christopher L. Conway <christopherleeconway@gmail.com> | 2010-05-04 21:57:57 +0000 |
commit | 65d24277bfb9f76b612fa51770d5d63e1d34b528 (patch) | |
tree | 023841d60bff520093c40ffeddf40288b97615d3 /src/util | |
parent | 1571e73e83ecb5fec2f2ddd599bd3823e8f532e7 (diff) |
Disabling semantic checks in competition mode.
Adding function debugTagIsOn to safely test for tracing in any
compilation mode.
Removing irrelevant command-line options from usage message
in muzzled mode.
Diffstat (limited to 'src/util')
-rw-r--r-- | src/util/options.h | 2 | ||||
-rw-r--r-- | src/util/output.h | 8 |
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 */ |