Re: [cocci] Can we match a known macro by macro name instead of expanded function name?
Markus Elfring <[email protected]>
| Newsgroups | fr.inria.cocci |
|---|---|
| Message-ID | <[email protected]> |
>> How else to look for functions with attributes then?
> The return type for the function is required in this case:
>
> @r@
> attribute a;
> identifier fn;
> types t;
> @@
>
> * t a fn(...) { ... }
Would a similar source code search approach become interesting
for further clarifications?
Exclude macro calls from searches for function implementations
2024-10-28
https://github.com/coccinelle/coccinelle/issues/381
Regards,
Markus