Skip to content

Commit

Permalink
Adds missing .clang-tidy files
Browse files Browse the repository at this point in the history
  • Loading branch information
dylon committed Feb 13, 2024
1 parent a07a457 commit 2e68f5f
Show file tree
Hide file tree
Showing 3 changed files with 37 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Whitelist specific file patterns
!/**/.gitkeep
!/.clang-tidy
!/**/.clang-tidy
!/.gitignore
!/CMakeLists.txt
!/LICENSE.txt
Expand Down
18 changes: 18 additions & 0 deletions src/.clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Checks: 'bugprone-*,-bugprone-easily-swappable-parameters,readability-*,-readability-identifier-length,-readability-magic-numbers,modernize-*,concurrency-*,performance-*'
WarningsAsErrors: '*'
HeaderFileExtensions:
- h
- hh
- hpp
- hxx
ImplementationFileExtensions:
- c
- cc
- cpp
- cxx
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: dylon
SystemHeaders: false
UseColor: true
18 changes: 18 additions & 0 deletions test/.clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
Checks: 'bugprone-*,-bugprone-easily-swappable-parameters,readability-*,-readability-identifier-length,-readability-magic-numbers,modernize-*,concurrency-*,performance-*'
WarningsAsErrors: '*'
HeaderFileExtensions:
- h
- hh
- hpp
- hxx
ImplementationFileExtensions:
- c
- cc
- cpp
- cxx
HeaderFilterRegex: ''
AnalyzeTemporaryDtors: false
FormatStyle: none
User: dylon
SystemHeaders: false
UseColor: true

0 comments on commit 2e68f5f

Please sign in to comment.