[PATCH] D92874: [clangd] Validate clang-tidy Checks in clangd config.

Nathan James via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 8 11:45:58 PST 2020


njames93 created this revision.
njames93 added reviewers: sammccall, kadircet.
Herald added subscribers: usaxena95, arphaman.
njames93 requested review of this revision.
Herald added subscribers: cfe-commits, MaskRay, ilya-biryukov.
Herald added a project: clang.

Add instrumentation in ConfigCompile to validate that items in ClangTidy:[Add|Remove] correspond to actual clang-tidy checks.
If they don't a warning will be presented to the user.

This is especially useful for catching typos in the glob items.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92874

Files:
  clang-tools-extra/clang-tidy/ClangTidyModule.h
  clang-tools-extra/clang-tidy/GlobList.cpp
  clang-tools-extra/clang-tidy/GlobList.h
  clang-tools-extra/clangd/ConfigCompile.cpp
  clang-tools-extra/clangd/unittests/ConfigCompileTests.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92874.310303.patch
Type: text/x-patch
Size: 6869 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201208/d2879386/attachment.bin>


More information about the cfe-commits mailing list