Refactor IO stream manipulators (#7555)
authorGereon Kremer <gkremer@stanford.edu>
Mon, 22 Nov 2021 22:31:31 +0000 (14:31 -0800)
committerGitHub <noreply@github.com>
Mon, 22 Nov 2021 22:31:31 +0000 (22:31 +0000)
commit561b989855693fed2e06101223b46f11f4a8963a
tree15032d1a38a9a7b124e8cc6244095276aef4659d
parent3027ae937385e63582fc88247ea6b67976e72156
Refactor IO stream manipulators (#7555)

This PR consolidates SetLanguage, ExprSetDepth and ExprDag into a single consistent utility. Also, it makes it play more nicely with users setting these options and removes some obsolete code.
28 files changed:
src/CMakeLists.txt
src/expr/CMakeLists.txt
src/expr/dtype_selector.cpp
src/expr/expr_iomanip.cpp [deleted file]
src/expr/expr_iomanip.h [deleted file]
src/expr/node.h
src/expr/node_value.h
src/expr/type_node.h
src/options/expr_options.toml
src/options/io_utils.cpp [new file with mode: 0644]
src/options/io_utils.h [new file with mode: 0644]
src/options/options_handler.cpp
src/options/options_handler.h
src/options/set_language.cpp [deleted file]
src/options/set_language.h [deleted file]
src/parser/smt2/Smt2.g
src/proof/unsat_core.cpp
src/smt/command.cpp
src/smt/model.cpp
src/smt/optimization_solver.cpp
src/smt/set_defaults.cpp
src/theory/quantifiers/term_database.cpp
src/util/result.cpp
test/api/cpp/ouroborous.cpp
test/api/cpp/smt2_compliance.cpp
test/unit/node/node_black.cpp
test/unit/printer/smt2_printer_black.cpp
test/unit/util/boolean_simplification_black.cpp