mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 09:37:44 +00:00
Meta: Add basic clang-tidy configuration
Add a basic clang-tidy configuration that enables checks from the following categories: - bugprone - cert - clang-analyzer - concurrency - misc - performance - portability - readability The noisiest rules that have conflicts with the project style guide or accepted practices have been turned off. There's absolutely more work to be done here before we could consider setting any of these warnings as errors and enforcing them in CI, but committing a project clang-tidy configuration should help the rules become more visible and let other contributors take a crack at tweaking rules and/or finding possible bugs. Sadly the cpp-core-guidelines and modernize categories are very, very noisy. If we want to enable rules from these categories, they would need to be on a rule by rule basis.
This commit is contained in:
parent
480903fe8a
commit
3eeca784d2
2 changed files with 55 additions and 0 deletions
7
AK/.clang-tidy
Normal file
7
AK/.clang-tidy
Normal file
|
@ -0,0 +1,7 @@
|
|||
---
|
||||
# Disabled checks:
|
||||
#
|
||||
# misc-unused-using-decls: AK exports all public names into the global namespace per project style
|
||||
#
|
||||
Checks: '-misc-unused-using-decls'
|
||||
InheritParentConfig: true
|
Loading…
Add table
Add a link
Reference in a new issue