coccigrep is a semantic grep for the C language based on coccinelle (http://coccinelle.lip6.fr). It can be used to find where a given structure is used in code files. coccigrep depends on the spatch program which comes with coccinelle.
osc -A https://api.opensuse.org checkout openSUSE:Leap:15.0:Update/coccigrep && cd $_
The Open Build Service is an