Skip to content

Commit 8cfe464

Browse files
committed
refactor(lint): fix clang-tidy lints
1 parent 9a3fb44 commit 8cfe464

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

llvm-plugin/cpp/.clang-tidy

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,16 @@
11
# https://github.com/llvm/llvm-project/blob/main/.clang-tidy
2-
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
2+
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,-misc-use-anonymous-namespace,readability-identifier-naming,-misc-include-cleaner'
33
CheckOptions:
44
- key: readability-identifier-naming.ClassCase
55
value: CamelCase
66
- key: readability-identifier-naming.EnumCase
77
value: CamelCase
88
- key: readability-identifier-naming.FunctionCase
99
value: camelBack
10+
# Exclude from scanning as this is an exported symbol used for fuzzing
11+
# throughout the code base.
12+
- key: readability-identifier-naming.FunctionIgnoredRegexp
13+
value: "LLVMFuzzerTestOneInput"
1014
- key: readability-identifier-naming.MemberCase
1115
value: CamelCase
1216
- key: readability-identifier-naming.ParameterCase

0 commit comments

Comments
 (0)