lkml.org 
[lkml]   [2015]   [Sep]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] coccinelle: assign signed result to unsigned variable
From
Date
> To collect function calls that have a return value of a given type t,
> it should be sufficient to do the following:
>
> @@
> t e;
> identifier f;
> @@
>
> f(...)@e

Is such a SmPL approach better than a variant like the following?

@find_function@
type t;
identifier f;
@@
t f(...)
{ ... }

Regards,
Markus


\
 
 \ /
  Last update: 2015-09-26 12:01    [W:1.333 / U:1.416 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site