Skip to content

Commit 53a5238

Browse files
committed
Improve clang-tidy configuration
1 parent ac0aed8 commit 53a5238

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

.clang-tidy

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Checks: >
2222
-readability-identifier-length
2323
2424
WarningsAsErrors: ''
25-
HeaderFilterRegex: '.*(Common|SparseBindingTest|Tests|VmaUsage|VulkanSample)\.(cpp|h)$|.*vk_mem_alloc\.h$'
25+
HeaderFilterRegex: '.*\.(cpp|h)$'
2626
FormatStyle: file
2727
AnalyzeTemporaryDtors: true
2828
CheckOptions:

.github/workflows/static_code_analysis.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,4 +42,4 @@ jobs:
4242
4343
- name: Run Clang-Tidy
4444
run: |
45-
find . -path ./build -prune -o -name '*.cpp' -print | xargs clang-tidy-15 -p build || true
45+
find . -path ./build -prune -o \( -name '*.cpp' -o -name '*.h' \) -print | xargs clang-tidy-15 -p build || true

0 commit comments

Comments
 (0)