Finding all uses of a structure member
Posted Mar 31, 2010 9:12 UTC (Wed) by epa
In reply to: Evolutionary development of a semantic patch using Coccinelle
Parent article: Evolutionary development of a semantic patch using Coccinelle
e.g. 'find all times the field 'next' of structure 'struct foo' is used'
In fact, any decent IDE will do this. (The C preprocessor makes it almost impossible for any automated system to be 100% correct for C and C++, but for languages like Java and C# it's straightforward. An IDE might allow a simple right-click and 'find references' from the menu).
to post comments)