clang-tidy is a static analysis tool: It analyzes C++ source code It finds bugs, bad practices, and design issues It uses the same compiler flags as your real build Examples of what it catches: Uninitialized variables Dangling references Inefficient copies Dangerous implicit conversions Missing explicit Poor modern C++ usage
19 lines
308 B
YAML
19 lines
308 B
YAML
---
|
|
Checks: >
|
|
bugprone-*,
|
|
performance-*,
|
|
readability-*,
|
|
modernize-*,
|
|
clang-analyzer-*,
|
|
-modernize-use-trailing-return-type,
|
|
-readability-magic-numbers
|
|
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: '^/home/ys/family-repo/Code/cplusplus/learning/.*'
|
|
AnalyzeTemporaryDtors: false
|
|
FormatStyle: none
|
|
|
|
|
|
|
|
|