Might it be a good idea if the reports generated by
scan-build/ccc-analyzer would include the version(s) of the program
(clang --version ?) that was used to do the analysis ? So that for
example, if a certain version 'X' of the program detected a lot of
'null pointer dereferences'... and it was known to the devs that a lot
of improvements/changes were made in that area since version 'X' ...
that it might be more helpful to re-run the analyzer again with the
latest version instead of trying to analyze the reports made with the
older version ?
Just a thought.
This information is already included if you use one of the prepackaged checker builds at http://clang-analyzer.llvm.org. It should appear at the top of the 'index.html' file. Is that not the case?
Ive done a scan-build with a recent (few weeks ago ? cant remember
exactly) svn build. At the top of the report, it lists: user, working
dir, command line, and date. But I dont see the version(s) of the
software that was used to generate the report and do the analysis ?
For an example, see :
Ive done a scan-build with a recent (few weeks ago ? cant remember exactly) svn build.
clang version 3.0 (trunk 131083)
Thread model: posix
It's not in the latest svn...
I'm not certain what your question is. ccc-analyzer is in clang/tools/scan-build. Or are you referring to the information being pasted at the top of the index.html file?
Yes, I mean the information being pasted at the top of the index.html
file. I was wondering if it would be useful if that information
included the version used to do the analysis ?