Re: [Cocci] Searching only for header files with the Coccinelle software

2021-03-28 Thread Julia Lawall
On Sun, 28 Mar 2021, Markus Elfring wrote: > > Probably the simplest is to put the names of the header files in a file, > > eg find . -name "*h" > header_list, and then give the arguement > > --file-groups header_list to Coccinelle. > > How are the chances to add support for another program

Re: [Cocci] Searching only for header files with the Coccinelle software

2021-03-28 Thread Julia Lawall
On Sun, 28 Mar 2021, Markus Elfring wrote: > Hello, > > The Coccinelle software can search for header files in addition to source > files > if the option “--include-headers” was specified. >

[Cocci] Searching only for header files with the Coccinelle software

2021-03-28 Thread Markus Elfring
Hello, The Coccinelle software can search for header files in addition to source files if the option “--include-headers” was specified. https://github.com/coccinelle/coccinelle/blob/287374196da8c7cfd169e721a2d23f1e462422f1/docs/manual/spatch_options.tex#L43 How can it be achieved that only