User: Password:
|
|
Subscribe / Log in / New account

Finding all uses of a structure member

Finding all uses of a structure member

Posted Mar 31, 2010 9:12 UTC (Wed) by epa (subscriber, #39769)
In reply to: Evolutionary development of a semantic patch using Coccinelle by neilbrown
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).


(Log in to post comments)


Copyright © 2017, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds