diff options
author | Tim King <taking@google.com> | 2015-12-24 05:38:43 -0500 |
---|---|---|
committer | Tim King <taking@google.com> | 2015-12-24 05:38:43 -0500 |
commit | a39ad6584c1d61e22e72b53c3838f4f675ed2e19 (patch) | |
tree | ed40cb371c41ac285ca2bf41a82254a36134e132 /src/main | |
parent | 87b0fe9ce10d1e5e9ed5a3e7db77f46bf3f68922 (diff) |
Miscellaneous fixes
- Splitting the two instances of CheckArgument. The template version is now always defined in base/exception.h and is available in a cvc4_public header. This version has lost its variadic version (due to swig not supporting va_list's). The CPP macro version has been renamed PrettyCheckArgument. (Taking suggestions for a better name.) This is now only defined in base/cvc4_assert.h. Only use this in cvc4_private headers and in .cpp files that can use cvc4_private headers. To use a variadic version of CheckArguments, outside of this scope, you need to duplicate this macro locally. See cvc3_compat.cpp for an example.
- Making fitsSignedInt() and fitsUnsignedInt() work more robustly for CLN on 32 bit systems.
- Refactoring ArrayStoreAll to avoid potential problems with circular header inclusions.
- Changing some headers to use iosfwd when possible.
Diffstat (limited to 'src/main')
-rw-r--r-- | src/main/command_executor.h | 2 | ||||
-rw-r--r-- | src/main/command_executor_portfolio.h | 6 | ||||
-rw-r--r-- | src/main/interactive_shell.h | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/src/main/command_executor.h b/src/main/command_executor.h index 49d18a153..8ef1a6a5f 100644 --- a/src/main/command_executor.h +++ b/src/main/command_executor.h @@ -15,7 +15,7 @@ #ifndef __CVC4__MAIN__COMMAND_EXECUTOR_H #define __CVC4__MAIN__COMMAND_EXECUTOR_H -#include <iostream> +#include <iosfwd> #include <string> #include "expr/expr_manager.h" diff --git a/src/main/command_executor_portfolio.h b/src/main/command_executor_portfolio.h index b3532cea4..ee2b270fb 100644 --- a/src/main/command_executor_portfolio.h +++ b/src/main/command_executor_portfolio.h @@ -21,10 +21,10 @@ #include "main/command_executor.h" #include "main/portfolio_util.h" -#include <vector> -#include <string> -#include <iostream> +#include <iosfwd> #include <sstream> +#include <string> +#include <vector> namespace CVC4 { diff --git a/src/main/interactive_shell.h b/src/main/interactive_shell.h index 1b1031776..844fddf45 100644 --- a/src/main/interactive_shell.h +++ b/src/main/interactive_shell.h @@ -15,7 +15,7 @@ #ifndef __CVC4__INTERACTIVE_SHELL_H #define __CVC4__INTERACTIVE_SHELL_H -#include <iostream> +#include <iosfwd> #include <string> #include "options/language.h" |