Use Assert instead of assert. (#6095)
authorMathias Preiner <mathias.preiner@gmail.com>
Wed, 10 Mar 2021 23:58:11 +0000 (15:58 -0800)
committerGitHub <noreply@github.com>
Wed, 10 Mar 2021 23:58:11 +0000 (23:58 +0000)
commit982d1bea6ec9ac9b8932f99762ab2b3908958f32
tree4f5ba9a5559d9b273a514f60eb9b354555e74b95
parent489209a31c2a2bf2f5ce465c1a79f73aad90c764
Use Assert instead of assert. (#6095)

This commit replaces all uses of assert with Assert from base/check.h to ensure that all assertions get checked in production builds with enabled assertions.
46 files changed:
src/base/check.h
src/main/command_executor.cpp
src/main/interactive_shell.cpp
src/parser/antlr_input.cpp
src/parser/antlr_input.h
src/parser/antlr_input_imports.cpp
src/parser/antlr_line_buffered_input.cpp
src/parser/bounded_token_buffer.cpp
src/parser/cvc/Cvc.g
src/parser/cvc/cvc_input.cpp
src/parser/line_buffer.cpp
src/parser/parser.cpp
src/parser/parser.h
src/parser/parser_builder.cpp
src/parser/smt2/Smt2.g
src/parser/smt2/smt2.cpp
src/parser/smt2/smt2_input.cpp
src/parser/smt2/sygus_input.cpp
src/parser/tptp/tptp.cpp
src/parser/tptp/tptp.h
src/parser/tptp/tptp_input.cpp
src/prop/bvminisat/core/Solver.cc
src/prop/bvminisat/core/Solver.h
src/prop/bvminisat/core/SolverTypes.h
src/prop/bvminisat/mtl/Alg.h
src/prop/bvminisat/mtl/Alloc.h
src/prop/bvminisat/mtl/Heap.h
src/prop/bvminisat/mtl/Map.h
src/prop/bvminisat/mtl/Queue.h
src/prop/bvminisat/mtl/Vec.h
src/prop/bvminisat/simp/SimpSolver.cc
src/prop/bvminisat/simp/SimpSolver.h
src/prop/minisat/core/Solver.cc
src/prop/minisat/core/Solver.h
src/prop/minisat/core/SolverTypes.h
src/prop/minisat/mtl/Alg.h
src/prop/minisat/mtl/Alloc.h
src/prop/minisat/mtl/Heap.h
src/prop/minisat/mtl/Map.h
src/prop/minisat/mtl/Queue.h
src/prop/minisat/mtl/Vec.h
src/prop/minisat/simp/SimpSolver.cc
src/prop/minisat/simp/SimpSolver.h
src/util/rational_cln_imp.cpp
src/util/rational_cln_imp.h
test/api/ouroborous.cpp