mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-11-24 22:30:13 +00:00
f99133e853
Summary: Every call to a main like function in llvm and clang lib violates the naming convention for parameters. This prevents clang-tidy warning on such breaches. Reviewers: alexfh, hokein Reviewed By: hokein Subscribers: merge_guards_bot, aheejin, cfe-commits, llvm-commits Tags: #clang, #llvm Differential Revision: https://reviews.llvm.org/D73715
25 lines
1.2 KiB
YAML
25 lines
1.2 KiB
YAML
Checks: '-*,clang-diagnostic-*,llvm-*,misc-*,-misc-unused-parameters,-misc-non-private-member-variables-in-classes,-readability-identifier-naming'
|
|
# Note that the readability-identifier-naming check is disabled, there are too
|
|
# many violations in the codebase and they create too much noise in clang-tidy
|
|
# results.
|
|
# Naming settings are kept for documentation purposes and allowing to run the
|
|
# check if the users would override this file, e.g. via a command-line arg.
|
|
CheckOptions:
|
|
- key: readability-identifier-naming.ClassCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.EnumCase
|
|
value: CamelCase
|
|
- key: readability-identifier-naming.FunctionCase
|
|
value: camelBack
|
|
- 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
|
|
|