summaryrefslogtreecommitdiff
path: root/devel/sunifdef/DESCR
blob: 88b56ac0b966e7697472209bc07e56614d8726b7 (plain)
1
2
3
4
5
6
7
8
9
10
Sunifdef is a commandline tool for eliminating superfluous preprocessor
clutter from C and C++ source files. It is a more powerful successor to
the FreeBSD 'unifdef' tool.

Sunifdef is most useful to developers of constantly evolving products with
large code bases, where preprocessor conditionals are used to configure
the feature sets, APIs or implementations of different releases. In these
environments the code base steadily accumulates #ifdef pollution as
transient configuration options become obselete. Sunifdef can largely
automate the recurrent task of purging redundant #if logic from the code.