This PR does a couple of minor cleanups related to options.
namespace cvc5 {
-namespace detail {
-
std::string cvc5_errno_failreason()
{
#if HAVE_STRERROR_R
#endif /* HAVE_STRERROR_R */
}
+namespace detail {
+
std::ostream* openOStream(const std::string& filename)
{
errno = 0;
#include <memory>
#include <ostream>
-#include "options/options_public.h"
-
namespace cvc5 {
namespace detail {
: sortToTypeNode(grammar->resolve());
}
-Options& Command::getOriginalOptionsFrom(api::Solver* s)
-{
- return *s->d_originalOptions.get();
-}
/* -------------------------------------------------------------------------- */
/* class EmptyCommand */
const std::vector<api::Sort>& sorts);
/** Helper to convert a Grammar to an internal TypeNode */
static TypeNode grammarToTypeNode(api::Grammar* grammar);
- /** Get original options from the solver (for ResetCommand) */
- Options& getOriginalOptionsFrom(api::Solver* s);
}; /* class Command */
/**
#include <sstream>
#include "api/cpp/cvc5.h"
-#include "options/options.h"
#include "options/set_language.h"
#include "parser/parser.h"
#include "parser/parser_builder.h"