[PATCH] D138505: [clangd] Don't run slow clang-tidy checks by default

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Nov 28 10:00:52 PST 2022


sammccall updated this revision to Diff 478274.
sammccall retitled this revision from "[clangd] Don't run slow clang-tidy checks" to "[clangd] Don't run slow clang-tidy checks by default".
sammccall edited the summary of this revision.
sammccall added a comment.

Add tests of isFast
Make isFast a tristate (fast/unknown/slow)
Make the config option a tristate filter (strict/loose/none)
Emit diagnostics when enabling a (maybe)slow check in config


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D138505/new/

https://reviews.llvm.org/D138505

Files:
  clang-tools-extra/clangd/Config.h
  clang-tools-extra/clangd/ConfigCompile.cpp
  clang-tools-extra/clangd/ConfigFragment.h
  clang-tools-extra/clangd/ConfigYAML.cpp
  clang-tools-extra/clangd/ParsedAST.cpp
  clang-tools-extra/clangd/TidyProvider.cpp
  clang-tools-extra/clangd/TidyProvider.h
  clang-tools-extra/clangd/tool/Check.cpp
  clang-tools-extra/clangd/unittests/ParsedASTTests.cpp
  clang-tools-extra/clangd/unittests/TidyProviderTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D138505.478274.patch
Type: text/x-patch
Size: 13726 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20221128/080b8332/attachment-0001.bin>


More information about the cfe-commits mailing list