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

Method declare

libsmtutil/SMTLib2Context.cpp:46–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

44}
45
46void SMTLib2Context::declare(std::string const& _name, SortPointer const& _sort)
47{
48 auto [_, inserted] = m_functions.insert({_name, _sort});
49 smtAssert(inserted, "Trying to redeclare SMT function!");
50}
51
52SortPointer SMTLib2Context::getDeclaredSort(std::string const& _name) const
53{

Callers 4

declareVariableMethod · 0.45
declareFunctionMethod · 0.45
registerRelationMethod · 0.45
declareVariableMethod · 0.45

Calls 1

insertMethod · 0.80

Tested by

no test coverage detected