> I'm trying to match the cases where the return value from the > function bar() isn't used in any way.
I asked also for this feature in my request "Detection of ignored function return values". http://lists.diku.dk/pipermail/cocci/2010-February/000690.html I find that it is still an open issue because I see a need for the extension of the semantic patch language for this purpose. http://coccinelle.lip6.fr/docs/main_grammar002.html#metadecl Do I read the SmPL grammar correctly if a function return type is not listed for the types of meta-variables? Would you like to extended this list for the support of more constructs from a programming language like C? Regards, Markus _______________________________________________ Cocci mailing list [email protected] http://lists.diku.dk/mailman/listinfo/cocci (Web access from inside DIKUs LAN only)
