Skip to content

Commit 89df941

Browse files
hjmjohnsonclaude
andcommitted
STYLE: Disable clang-tidy checks that conflict with ITK coding standards
- Disable llvmlibc-* (LLVM stdlib internals, never applicable to ITK) - Disable modernize-use-trailing-return-type (ITK uses leading return types) - Disable readability-redundant-member-init (ITK prefers explicit base-class init) - Expand readability-identifier-length.IgnoredParameterNames to cover single-letter index/coordinate params (i,j,k,n,x,y,z,r,g,b,a,v) commonly used in ITK math-heavy code Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent fdd8f7f commit 89df941

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

.clang-tidy

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
# % clang-tidy --version (clang-tidy-new-cast↓1↑7|⚑5✔)
1010
# Homebrew LLVM version 20.1.6 # <- Version of clang-tidy used to create this file
1111
---
12-
Checks: 'clang-diagnostic-*,clang-analyzer-*,*'
12+
Checks: 'clang-diagnostic-*,clang-analyzer-*,*,-llvmlibc-*,-modernize-use-trailing-return-type,-readability-redundant-member-init'
1313
WarningsAsErrors: ''
1414
HeaderFileExtensions:
1515
- ''
@@ -433,7 +433,7 @@ CheckOptions:
433433
readability-function-size.VariableThreshold: none
434434
readability-identifier-length.IgnoredExceptionVariableNames: '^[e]$'
435435
readability-identifier-length.IgnoredLoopCounterNames: '^[ijk_]$'
436-
readability-identifier-length.IgnoredParameterNames: '^[n]$'
436+
readability-identifier-length.IgnoredParameterNames: '^[ijknxyzrgbav]$'
437437
readability-identifier-length.IgnoredVariableNames: ''
438438
readability-identifier-length.MinimumExceptionNameLength: '2'
439439
readability-identifier-length.MinimumLoopCounterNameLength: '2'

0 commit comments

Comments
 (0)