CLion
 
Get CLion
You are viewing the documentation for an earlier version of CLion.

Clang-Tidy integration

Last modified: 08 March 2021

Settings / Preferences | Editor | Inspections- C/C++, General, Clang-Tidy

Default configuration: enabled/disabled checks

Default severity: Warning

Clang-Tidy is a Clang-based tool for static code analysis. CLion shows Clang-Tidy checks the same way as its own code inspections, with quick-fixes available via the the Yellow bulb icon -button or Alt+Enter:

https://resources.jetbrains.com/help/img/idea/2021.2/cl_CTbasics.png
Gif

External Links