[Cocci] Finding function implementations that call only a single function.

SF Markus Elfring elfring at users.sourceforge.net
Sun Dec 7 13:00:15 CET 2014

> If the return type has no impact on the match, it can be omitted.

Is another metavariable needed to filter on functions with a non-void
return type?

>> When should a filter pattern on function implementations be adapted to
>> the property that there will be a return value affected (or not)?
> I don't understand the question.

It seems that I need to describe my small SmPL example with more
drastic words. Would it introduce programming errrors in such an
application of the semantic patch language?

Does it contain logical mistakes?


More information about the Cocci mailing list