Coan is a software engineering tool for analysing preprocessor-based configurations of C or C++ source code. Its principal use is to simplify a body of source code by eliminating any parts that are redundant with respect to a specified configuration.
We've been evaluating Coan as a tool to mainline or remove some of the many thousands of redundant conditional compiles in our very large codebase. It's proving to be * accurate * easy to use * fast What more could you ask for? When we've finished analysing which #defines we want to remove it's the tool we will use.