It seems to me that passing a variable to a macro suggests the developer intends
to do something with it, just as passing a variable to a function call does.
What is intended to do with it is not immediately known.

I would like to point out another important detail for the mentioned value forwarding.

The function implementations must be distinguished by the feature if they perform input parameter validation. Some functions expect usually that they should only be called with valid data. It can be a design challenge to put value checks at appropriate places in the source code for safe und consistent run time behaviour of the affected software. ;-)

Regards,
Markus
_______________________________________________
Cocci mailing list
[email protected]
http://lists.diku.dk/mailman/listinfo/cocci
(Web access from inside DIKUs LAN only)

Reply via email to