Add clangd and clang-tidy configs

Add build directories with any suffix to gitignore
This commit is contained in:
DH 2024-10-31 14:15:14 +03:00
parent 994d62c080
commit cc0e81e88f
3 changed files with 4 additions and 2 deletions

1
.clang-tidy Normal file
View File

@ -0,0 +1 @@
Checks: 'modernize-*,performance-*,portability-*,-modernize-avoid-c-arrays,-modernize-use-trailing-return-type'

2
.clangd Normal file
View File

@ -0,0 +1,2 @@
CompileFlags:
Add: [-Wall, -Wextra, -Wno-missing-designated-field-initializers]

3
.gitignore vendored
View File

@ -56,6 +56,5 @@ compile_commands.json
# macOS
*.DS_Store
build/
build*/
.cache/