Skip to content

Commit

Permalink
Add clangd and clang-tidy configs
Browse files Browse the repository at this point in the history
Add build directories with any suffix to gitignore
  • Loading branch information
DHrpcs3 committed Oct 31, 2024
1 parent 994d62c commit cc0e81e
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
1 change: 1 addition & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Checks: 'modernize-*,performance-*,portability-*,-modernize-avoid-c-arrays,-modernize-use-trailing-return-type'
2 changes: 2 additions & 0 deletions .clangd
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
CompileFlags:
Add: [-Wall, -Wextra, -Wno-missing-designated-field-initializers]
3 changes: 1 addition & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,5 @@ compile_commands.json
# macOS
*.DS_Store

build/

build*/
.cache/

0 comments on commit cc0e81e

Please sign in to comment.