Hi, to efficiently find unused functions, the source browser is generally very useful - just only for C code.
For C++ code, this gets very tedious, as: - C++ member functions are not displayed as "Functions", but as "Types" (together with a tremendous amount of "other things"). - The classname is NOT shown in the browser list.
It would be VERY useful, if the C++ class functions would be included in the browser as function, e. g. written ClassName::FunctionName (for function FunctionName in class ClassName).
Then I could sort by reference, and check any function which has only 1 or 2 references ... .
With the current sorting in the types field, it is nearly impossible to sort out functions with only 1 or 2 references.
The same applies to class data members - thes also should be displayed as "Data", and not as "Types".
Further it would be VERY useful, if I could export the browser list into CSV, e. g. by right mouse key popup in the browser result list. Then I could import this CSV into Excel, and do many further things (especially some more sophisticated sorting).
The linker option --feedback=filename generates some nice text file to find unused functions (also inside classes).
I think there is nothing similar for unused data fields - but I think unused data fields are "optimized away" anyway by the linker. (?)
The misc control command
--feedback=!UnusedFunctions!.Txt
does remove unused code and reduces image size.