dmd.dmangle

Does name mangling for extern(D) symbols.

Specification: Name Mangling

Members

Functions

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

Returns exact mangled name of function.

mangleToFuncSignature
void mangleToFuncSignature(ref 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