Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to find unused attributes/methods in Visual C++ 2008

Is there a way to identify unused attributes/methods in Visual C++ 2008 Professional? If it's not possible by default, recommendations of 3rd-party tools are also much appreciated.

Thanks,
Florian

Edit: nDepend only works for .NET assemblies. I'm looking for something that can be used with native C++ applications.

like image 720
fhe Avatar asked Sep 29 '08 14:09

fhe


1 Answers

Try PC-Lint. It's pretty good at finding redundant code. I haven't tried version 9 yet. Version 8 does take some time to configure. Try the online interactive demo.

like image 85
finnw Avatar answered Sep 21 '22 11:09

finnw