We received some user feedback around this being disruptful rather than
useful in certain workflows so add an option to control the output behaviour.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Thanks.
clang-tools-extra/clang-tidy/misc/IncludeCleanerCheck.h | ||
---|---|---|
48 | Nit: let's name this similar or same to the option, i.e., const bool DeduplicateFindings. It might be easier to digest. | |
clang-tools-extra/unittests/clang-tidy/IncludeCleanerTest.cpp | ||
150 | Nit: check that these are actually different findings (i.e., stemming from different symbol refs). |
clang-tools-extra/docs/ReleaseNotes.rst | ||
---|---|---|
195 | invalid release note should be something like: Improved :doc:`misc-include-cleaner <clang-tidy/checks/misc/include-cleaner>` check by adding option `DeduplicateFindings` to output one finding per symbol occurence. Also this list is sorted per check, so it should be before modernize-loop-convert. | |
clang-tools-extra/docs/clang-tidy/checks/misc/include-cleaner.rst | ||
40 | true -> true |
Nit: let's name this similar or same to the option, i.e., const bool DeduplicateFindings. It might be easier to digest.