Skip to content

Commit c1af357

Browse files
TylerMSFTTylerMSFT
authored andcommitted
add link to list of clang-tidy checks
1 parent 16cbd1a commit c1af357

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/code-quality/clang-tidy.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: Using Clang-Tidy in Visual Studio
33
description: "How to use Clang-Tidy in Visual Studio for Microsoft C++ code analysis."
4-
ms.date: 02/22/2022
4+
ms.date: 03/1/2022
55
ms.topic: "conceptual"
66
f1_keywords: ["vs.codeanalysis.clangtidy"]
77
---
@@ -31,13 +31,13 @@ For more information, see [How to: Set Code Analysis Properties for C/C++ Projec
3131

3232
## CMake
3333

34-
In CMake projects, you can configure Clang-Tidy checks within *`CMakeSettings.json`* or *`CMakePresets.json`*.
34+
In CMake projects, you can configure Clang-Tidy checks within *`CMakeSettings.json`* or *`CMakePresets.json`*.
3535

3636
Clang-Tidy recognizes the following keys:
3737

3838
- `enableMicrosoftCodeAnalysis`: Enables Microsoft Code Analysis
3939
- `enableClangTidyCodeAnalysis`: Enables Clang-Tidy analysis
40-
- `clangTidyChecks`: Clang-Tidy configuration. A comma-separated list of checks to enable or disable. A leading `-` disables the check. For example, "cert-oop58-cpp, -cppcoreguidelines-no-malloc, google-runtime-int" enables `cert-oop58-cpp` and `google-runtime-int`, but disables `cppcoreguidelines-no-malloc`.
40+
- `clangTidyChecks`: Clang-Tidy configuration. A comma-separated list of checks to enable or disable. A leading `-` disables the check. For example, "cert-oop58-cpp, -cppcoreguidelines-no-malloc, google-runtime-int" enables `cert-oop58-cpp` and `google-runtime-int`, but disables `cppcoreguidelines-no-malloc`. For a list of Clang-Tidy checks, see the [Clang-Tidy documentation](https://clang.llvm.org/extra/clang-tidy/checks/list.html).
4141

4242
If neither of the "enable" options are specified, Visual Studio will select the analysis tool matching the Platform Toolset used.
4343

@@ -93,7 +93,7 @@ By default, Clang-Tidy does not set any checks when enabled. To see the list of
9393

9494
## See also
9595

96-
- [Clang/LLVM support for MSBuild projects](https://devblogs.microsoft.com/cppblog/clang-llvm-support-for-msbuild-projects/)
97-
- [Clang/LLVM support for CMake projects](https://devblogs.microsoft.com/cppblog/visual-studio-cmake-support-clang-llvm-cmake-3-14-vcpkg-and-performance-improvements/)
96+
[Clang/LLVM support for MSBuild projects](https://devblogs.microsoft.com/cppblog/clang-llvm-support-for-msbuild-projects/)\
97+
[Clang/LLVM support for CMake projects](https://devblogs.microsoft.com/cppblog/visual-studio-cmake-support-clang-llvm-cmake-3-14-vcpkg-and-performance-improvements/)
9898

9999
::: moniker-end

0 commit comments

Comments
 (0)