Skip to content

Commit bb6f20e

Browse files
svenvhdbudanov-cmplr
authored andcommitted
.clang-tidy: temporarily disable misc-const-correctness
This is a relatively new check added to clang-tidy by 46ae26e ("[clang-tidy] implement new check 'misc-const-correctness' to add 'const' to unmodified variables", 2022-07-24). Currently the code base doesn't follow the practice of declaring variables `const` where possible, which makes the check quite noisy, so disable it for now. Original commit: KhronosGroup/SPIRV-LLVM-Translator@4dd494e
1 parent d639232 commit bb6f20e

File tree

1 file changed

+20
-2
lines changed

1 file changed

+20
-2
lines changed

llvm-spirv/.clang-tidy

+20-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,23 @@
1-
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-no-recursion,-misc-unused-parameters,readability-identifier-naming,-llvm-header-guard'
2-
WarningsAsErrors: 'llvm-*,misc-*,-misc-no-recursion,-misc-unused-parameters,readability-identifier-naming,-llvm-header-guard'
1+
Checks: |
2+
-*,
3+
clang-diagnostic-*,
4+
llvm-*,
5+
-llvm-header-guard,
6+
misc-*,
7+
-misc-const-correctness,
8+
-misc-no-recursion,
9+
-misc-non-private-member-variables-in-classes,
10+
-misc-unused-parameters,
11+
readability-identifier-naming
12+
WarningsAsErrors: |
13+
llvm-*,
14+
-llvm-header-guard,
15+
misc-*,
16+
-misc-const-correctness,
17+
-misc-no-recursion,
18+
-misc-non-private-member-variables-in-classes,
19+
-misc-unused-parameters,
20+
readability-identifier-naming
321
CheckOptions:
422
- key: readability-identifier-naming.ClassCase
523
value: CamelCase

0 commit comments

Comments
 (0)