api: Use std::optional for symbols in mk* functions. (#8495)
authorMathias Preiner <mathias.preiner@gmail.com>
Fri, 1 Apr 2022 01:10:29 +0000 (18:10 -0700)
committerGitHub <noreply@github.com>
Fri, 1 Apr 2022 01:10:29 +0000 (01:10 +0000)
commit467c95cffba499ef9c1fd542c5f3bb87cd385c5e
tree378f8e850c4019908390dce1677626d9955fcb97
parent6b7f763081b98c83629c524a791300dce2919647
api: Use std::optional for symbols in mk* functions. (#8495)

Makes all symbols in mk* functions optional.
18 files changed:
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/api/java/io/github/cvc5/Solver.java
src/api/java/jni/solver.cpp
src/api/python/cvc5.pxd
src/api/python/cvc5.pxi
src/parser/parser.cpp
test/unit/api/cpp/datatype_api_black.cpp
test/unit/api/cpp/parametric_datatype_black.cpp
test/unit/api/cpp/solver_black.cpp
test/unit/api/cpp/sort_black.cpp
test/unit/api/java/DatatypeTest.java
test/unit/api/java/ResultTest.java
test/unit/api/java/SolverTest.java
test/unit/api/java/SortTest.java
test/unit/api/python/test_datatype_api.py
test/unit/api/python/test_solver.py
test/unit/api/python/test_sort.py