[cfe-dev] scan-build man page
joerg at britannica.bec.de
Fri May 11 15:21:39 PDT 2012
On Fri, May 11, 2012 at 10:29:37AM -0700, Anna Zaks wrote:
> On May 10, 2012, at 10:24 PM, Ted Kremenek wrote:
> > On May 10, 2012, at 8:05 PM, James K. Lowden <jklowden at schemamania.org> wrote:
> >> On my NetBSD system the osx checkers are all off. If that is varies by
> >> OS, that's something we need to know for the documentation discussion.
> > Yes, they are system specific. On Windows, for example, the unix checkers aren't enabled, and the osx checkers are only enabled on Apple platforms. You can find out more details by going to lib/Driver/Tools.cpp.
> So scan-build dynamically generates the list of enabled checkers depending on the platform on which it's being run. So if the man page is static it should either:
> - not print the list of checkers but refer to a scan-build command for the list
> - be automatically generated (which seems to be punted for now..)
> - document the platforms on which each checker is enabled by default
(4) Do not include which checkers are enabled by default.
I'm in favor of doing either (3) or (4). I don't think it is difficult
to do (3), so that is most likely the easiest route.
More information about the cfe-dev