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

Function makeOverrideProxy

libsolidity/analysis/OverrideChecker.cpp:179–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177}
178
179OverrideProxy makeOverrideProxy(CallableDeclaration const& _callable)
180{
181 if (auto const* fun = dynamic_cast<FunctionDefinition const*>(&_callable))
182 return OverrideProxy{fun};
183 else if (auto const* mod = dynamic_cast<ModifierDefinition const*>(&_callable))
184 return OverrideProxy{mod};
185 else
186 solAssert(false, "Invalid call to makeOverrideProxy.");
187 return {};
188}
189
190}
191

Callers 1

baseFunctionsMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected