mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 06:10:12 +00:00
f181dff084
I keep getting suggestions from clangd to add 'const' to a bunch of local variables, which is not LLVM's style. This suppresses those. Reviewed By: kadircet, aaron.ballman Differential Revision: https://reviews.llvm.org/D131414
27 lines
1.3 KiB
YAML
27 lines
1.3 KiB
YAML
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-const-correctness,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-misc-no-recursion,readability-identifier-naming'
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: camelBack
|
|
# Exclude from scanning as this is an exported symbol used for fuzzing
|
|
# throughout the code base.
|
|
- key: readability-identifier-naming.FunctionIgnoredRegexp
|
|
value: "LLVMFuzzerTestOneInput"
|
|
- key: readability-identifier-naming.MemberCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.ParameterCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.UnionCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.VariableCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.IgnoreMainLikeFunctions
|
|
value: 1
|
|
- key: readability-redundant-member-init.IgnoreBaseInCopyConstructors
|
|
value: 1
|
|
- key: modernize-use-default-member-init.UseAssignment
|
|
value: 1
|