dmd.dmangle

Does name mangling for extern(D) symbols.

Specification: Name Mangling

Members

Functions

decoToType
Type decoToType(const(char)[] deco)

Convert a string representing a type (the deco) and return its equivalent Type.

isValidMangling
bool isValidMangling(dchar c)
mangleExact
const(char)* mangleExact(FuncDeclaration fd)

Returns exact mangled name of function.

mangleToFuncSignature
void mangleToFuncSignature(OutBuffer buf, FuncDeclaration fd)

Mangle function signatures ('this' qualifier, and parameter types) to check conflicts in function overloads. It's different from fd.type.deco. For example, fd.type.deco would be null if fd is an auto function.

Meta

Suggestion Box / Bug Report