No longer use direct access to options in driver (#7094)
authorGereon Kremer <nafur42@gmail.com>
Wed, 1 Sep 2021 01:17:24 +0000 (18:17 -0700)
committerGitHub <noreply@github.com>
Wed, 1 Sep 2021 01:17:24 +0000 (01:17 +0000)
commita6cdf2b085aaa9789f47757329a7803053ceb36a
tree98280ce376d9828241d850e6c9e1271c4024f0c2
parent068a0aa316f3760b401d900d39101955ba66b6c2
No longer use direct access to options in driver (#7094)

This PR refactors the driver to no longer directly access the Options object, but instead use Solver::getOption() or Solver::getOptionInfo().
17 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/base/exception.cpp
src/base/exception.h
src/main/command_executor.cpp
src/main/command_executor.h
src/main/driver_unified.cpp
src/main/interactive_shell.cpp
src/main/main.cpp
src/main/time_limit.cpp
src/main/time_limit.h
src/options/base_options.toml
src/parser/parser.cpp
src/parser/parser_builder.cpp
src/parser/parser_builder.h
src/parser/smt2/smt2.cpp
src/parser/smt2/smt2.h