MCPcopy Create free account
hub / github.com/bytedance/bolt / FunctionType

Method FunctionType

bolt/type/Type.cpp:591–595  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

589}
590
591FunctionType::FunctionType(
592 std::vector<std::shared_ptr<const Type>>&& argumentTypes,
593 std::shared_ptr<const Type> returnType)
594 : children_(allChildren(std::move(argumentTypes), returnType)),
595 parameters_{createTypeParameters(children_)} {}
596
597bool FunctionType::equivalent(const Type& other) const {
598 if (&other == this) {

Callers

nothing calls this directly

Calls 1

createTypeParametersFunction · 0.85

Tested by

no test coverage detected