TypeKind.FuncInfo

The type of a function prototype, 'void foo(int)'.

TODO consider changing the chain to be a FuncInfo referencing a FuncSignatureInfo.

This coupled with FuncSignatureInfo having the USR of the signature would mean that it would be possible to merge/detect/find all those FuncInfo with the same symbol mangling/signature.

Which is needed when doing cross-translation unit analyse to find connections between "points of interest.

It would also lower the amount of data in a FuncInfo.

struct TypeKind
pure @safe nothrow @nogc static
struct FuncInfo {
USRType return_;
TypeAttr returnAttr;
FuncInfoParam[] params;
}

Members

Variables

fmt
FuncFmt fmt;

void %s(int)

Meta