Skip to content

Rule: Struct return convention changed

Canonical rule slug: struct-return-convention. ← back to all rules

A struct return moves between registers and a hidden return pointer, so existing callers read the result from the wrong place.

Canonical demonstration