[LLVMdev] Deleting unused C++ code

Øyvind Harboe oyvind.harboe at zylin.com
Mon Jul 4 12:53:02 PDT 2011

On Mon, Jul 4, 2011 at 9:46 AM, Scott Conger <scott.conger at gmail.com> wrote:
> I think what you're looking for is something like Doxygen or CodeViz
> that can generate (imperfect) call graphs for you. It sounds like you
> just need a rough list of functions that might be unused to start
> with.

I'll have a peek at CodeViz. Even a first approximation of unused code
would be so much better than nothing.

I don't have the link right here, but I saw someone was working on a project
to list unused #include files. That too would be a big boon in untangling
large 20 year old code.

I'll settle for good guesses when iron clad guarantees are provably
impossible :-)

Øyvind Harboe - Can Zylin Consulting help on your project?
US toll free 1-866-980-3434 / International +47 51 87 40 27

More information about the llvm-dev mailing list