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

Method replaceUserTypes

libsolidity/formal/SMTEncoder.cpp:2769–2776  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2767}
2768
2769TypePointers SMTEncoder::replaceUserTypes(TypePointers const& _types)
2770{
2771 return applyMap(_types, [](auto _type) {
2772 if (auto userType = dynamic_cast<UserDefinedValueType const*>(_type))
2773 return &userType->underlyingType();
2774 return _type;
2775 });
2776}
2777
2778std::pair<Expression const*, FunctionCallOptions const*> SMTEncoder::functionCallExpression(FunctionCall const& _funCall)
2779{

Callers

nothing calls this directly

Calls 2

applyMapFunction · 0.85
underlyingTypeMethod · 0.45

Tested by

no test coverage detected