| 49 | } |
| 50 | |
| 51 | std::string IRNames::function(FunctionDefinition const& _function) |
| 52 | { |
| 53 | if (_function.isConstructor()) |
| 54 | return constructor(*_function.annotation().contract); |
| 55 | |
| 56 | return "fun_" + _function.name() + "_" + std::to_string(_function.id()); |
| 57 | } |
| 58 | |
| 59 | std::string IRNames::function(VariableDeclaration const& _varDecl) |
| 60 | { |
nothing calls this directly
no test coverage detected