On Fri, 18 Oct 2019, Markus Elfring wrote: > >> Which would be a simple way to find only calls of functions > >> which have got a pointer return type? > > > > expression *y; > > I have got understanding difficulties with this SmPL variable specification. > I (as a C programmer) would tend to interpret an asterisk before > an expression as a pointer dereference (and not as a call with the desired > function return type). > Do I get an inappropriate impression here? Yes. In int *i; there is no pointer dereference. Y should match a pointer-typed expression. julia _______________________________________________ Cocci mailing list [email protected] https://systeme.lip6.fr/mailman/listinfo/cocci
- Re: [Cocci] Software analysis with SmPL ar... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Julia Lawall
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around unc... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around unchecked po... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around uncheck... Julia Lawall
- Re: [Cocci] Software analysis with SmPL around unc... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around... Julia Lawall
- Re: [Cocci] Software analysis with SmPL ar... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Julia Lawall
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Julia Lawall
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with Sm... Julia Lawall
- Re: [Cocci] Software analysis with Sm... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around unc... Markus Elfring
- Re: [Cocci] Software analysis with SmPL around... Julia Lawall
- Re: [Cocci] Software analysis with SmPL ar... Markus Elfring
