In the previous episode we presented how to uncover 32 Qt best practices at compile time with clazy. Today it’s time to show 5 more and other new goodies present in the freshly released clazy v1.2.
Warns when the content of
Q_RETURN_ARG() is not normalized. Using normalized signatures allows to avoid unneeded memory allocations.
// warning: Signature is not normalized. Use void mySlot(int) instead of void mySlot(const int)…