Open metaflow opened 2 years ago
I would be great to have such a feature for /clang-tools-extra/clangd
. We recently cleaned up a couple of findings in our subfolder and we would like to prevent backsliding.
Please bring back clang-tidy, that was really valuable to have on review when it was enabled!
I just landed > 27 commits to fix various clang-tidy issues in mlir/
.
@metaflow I would be interesting in working on this as we would like to use it for clangd.
I guess this would involve:
# The first matching rule is applied in the order of their definition.
clang-tidy-diff.py
already does most of the work around filtering findings related to a patch. I added JSON output in my patch so we don't have to parse the text output in our scripting.
at the moment clang-tidy is completly disabled as I have got multiple reports that they are not usable anymore.