[clang-tools-extra] r280840 - Add a clang-tidy visual studio extension.

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 10 13:52:09 PDT 2018


On Wed, Sep 7, 2016 at 2:37 PM Zachary Turner via cfe-commits
<cfe-commits at lists.llvm.org> wrote:
>
> Author: zturner
> Date: Wed Sep  7 13:28:55 2016
> New Revision: 280840
>
> URL: http://llvm.org/viewvc/llvm-project?rev=280840&view=rev
> Log:
> Add a clang-tidy visual studio extension.
>
> For now this only adds the UI necessary to configure clang-tidy
> settings graphically, and it enables reading in and saving out
> of .clang-tidy files.  It does not actually run clang-tidy on
> any source files yet.

Sorry to resurrect an old commit, but this commit added the following:

Added: clang-tools-extra/trunk/clang-tidy-vs/ClangTidy/Resources/ClangTidyChecks.yaml
URL: http://llvm.org/viewvc/llvm-project/clang-tools-extra/trunk/clang-tidy-vs/ClangTidy/Resources/ClangTidyChecks.yaml?rev=280840&view=auto
==============================================================================
--- clang-tools-extra/trunk/clang-tidy-vs/ClangTidy/Resources/ClangTidyChecks.yaml
(added)
+++ clang-tools-extra/trunk/clang-tidy-vs/ClangTidy/Resources/ClangTidyChecks.yaml
Wed Sep  7 13:28:55 2016
@@ -0,0 +1,325 @@
+---
+Checks:
+   # This file should be updated when new checks are added, and
eventually we should
+   # generate this file automatically from the .rst files in clang-tidy.

However, as best I can tell, this file is not reliably updated and is
currently *very* out of date (in fact, it's only been updated twice in
two years). You had mentioned in the review thread that you wanted to
think of a way to automate this from RST
(https://reviews.llvm.org/D23848?id=69168#inline-204743) -- any chance
you're still thinking on that and have a solution in mind? ;-)

~Aaron


More information about the cfe-commits mailing list