Detector for unused variables
bearophile
bearophileHUGS at lycos.com
Mon Jul 30 14:37:48 PDT 2012
Jonathan M Davis:
> This is the sort of thing that's
> better left to a lint-like tool IMHO.
Putting it in a lint means people have to know what a lint is,
desire to search it, install, and add its running to their
compilation ways. It also means the lint needs to contain part of
a D compiler. Most people I know don't use lints for their C/C++
code. On the other the C# programmers see such errors on default,
with no lint. So this idea is good if the lint is built in the
compiler, as the analysis option of Clang, do you know about it?
Bye,
bearophile
More information about the Digitalmars-d-learn
mailing list