Skip to content

Commit c67c19e

Browse files
authored
Merge pull request #53 from neogeek/feature/clang-tidy
[feat] Added clang tidy config.
2 parents 0beef4d + 0e52f5c commit c67c19e

File tree

4 files changed

+9
-0
lines changed

4 files changed

+9
-0
lines changed

.clang-tidy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Checks: '-*,clang-analyzer-*,-clang-analyzer-cplusplus*'

.clangd

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
CompileFlags:
2+
Add:
3+
- '-std=c++17'
4+
- '-Iincludes'

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,4 +7,5 @@ RhythmGameUtilities.sln.DotSettings.user
77

88
build/
99

10+
.cache/
1011
.idea/

Makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,7 @@ rcopy: ## Copy files from UnityPackage back to project
2727
clean: ## Clean project
2828
git clean -xdf
2929

30+
tidy:
31+
clang-tidy includes/**/*.hpp -checks=-*,clang-analyzer-*,-clang-analyzer-cplusplus*
32+
3033
.PHONY: build

0 commit comments

Comments
 (0)