MCPcopy Create free account
hub / github.com/argotorg/solidity / clear

Method clear

libsmtutil/SMTLib2Context.cpp:58–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void SMTLib2Context::clear() {
59 m_functions.clear();
60 m_knownTypes.clear();
61 m_arraySorts.clear();
62 m_tupleSorts.clear();
63 m_bitVectorSorts.clear();
64 m_callback = {};
65 m_knownTypes.emplace_back(std::make_unique<SMTLibSort>(Kind::Bool, std::string("Bool"), std::vector<SortId>{}, SortId{0u}));
66 m_knownTypes.emplace_back(std::make_unique<SMTLibSort>(Kind::Int, std::string("Int"), std::vector<SortId>{}, SortId{1u}));
67 assert(m_boolSort == m_knownTypes[0]->id);
68 assert(m_intSort == m_knownTypes[1]->id);
69}
70
71SortId SMTLib2Context::resolve(SortPointer const& _sort)
72{

Callers 2

resetMethod · 0.45
inlineLetExpressionsFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected