This is an archive of the discontinued LLVM Phabricator instance.

[clangd] Disable support for clang-tidy suppression blocks (NOLINTBEGIN)
ClosedPublic

Authored by sammccall on Dec 13 2021, 10:16 AM.

Details

Summary

The implementation is very inefficient and we pay the cost even when the feature is not used

Diff Detail

Event Timeline

sammccall created this revision.Dec 13 2021, 10:16 AM
sammccall requested review of this revision.Dec 13 2021, 10:16 AM
kadircet accepted this revision.Dec 14 2021, 6:04 AM

I am a little worried about the discrepancy we'll get here, but (un)fortunately it won't be the first with clang-tidy.

Also gave the author a headsup in https://reviews.llvm.org/D108560#3192081, looks like they're already working on some improvements. Let's hope that we can have this landed with LLVM-14 otherwise I think we should also document this in https://clangd.llvm.org/features#clang-tidy-checks.

This revision is now accepted and ready to land.Dec 14 2021, 6:06 AM

Hey folks, this commit seems to cause multiple buildbot failures 1 2 3. Can someone please revert this change while it gets fixed? Thanks!