llvm-project/clang/test/Analysis/scan-build
Artem Dergachev 7309359928 [analyzer] Fix scan-build report deduplication.
The previous behavior was to deduplicate reports based on md5 of the
html file. This algorithm might have worked originally but right now
HTML reports contain information rich enough to make them virtually
always distinct which breaks deduplication entirely.

The new strategy is to (finally) take advantage of IssueHash - the
stable report identifier provided by clang that is the same if and only if
the reports are duplicates of each other.

Additionally, scan-build no longer performs deduplication on its own.
Instead, the report file name is now based on the issue hash,
and clang instances will silently refuse to produce a new html file
when a duplicate already exists. This eliminates the problem entirely.

The '-analyzer-config stable-report-filename' option is deprecated
because report filenames are no longer unstable. A new option is
introduced, '-analyzer-config verbose-report-filename', to produce
verbose file names that look similar to the old "stable" file names.
The old option acts as an alias to the new option.

Differential Revision: https://reviews.llvm.org/D105167
2021-08-26 13:34:29 -07:00
..
Inputs [analyzer] Fix scan-build report deduplication. 2021-08-26 13:34:29 -07:00
rebuild_index [analyzer] Fix scan-build report deduplication. 2021-08-26 13:34:29 -07:00
cxx-name.test
deduplication.test [analyzer] Fix scan-build report deduplication. 2021-08-26 13:34:29 -07:00
exclude_directories.test
help.test
html_output.test
lit.local.cfg
plist_html_output.test
plist_output.test
silence-core-checkers.test