mirror of
https://github.com/zeldaret/oot.git
synced 2024-11-10 19:20:13 +00:00
6d52684020
* Prioritize using clang-tidy 6 and improve format.sh * Use clang-tidy-6.0 when available since it's better at applying 'readability-inconsistent-declaration-parameter-name' * Add -m32 and -Wno-everything to compiler options to avoid unwanted errors and warnings * Remove -fsyntax-only since it serves no purpose in the context of clang-tidy * Apply clang-tidy fixes for argument names * Run format.sh again * Use 'Strict' option instead of relying on clang-tidy 6 * Run format script * Add --fix-notes to clang-tidy options for version 13+
9 lines
488 B
YAML
9 lines
488 B
YAML
Checks: '-*,readability-braces-around-statements,readability-inconsistent-declaration-parameter-name'
|
|
WarningsAsErrors: ''
|
|
HeaderFilterRegex: '(src|include)\/.*\.h$'
|
|
FormatStyle: 'file'
|
|
CheckOptions:
|
|
# Require argument names to match exactly (instead of allowing a name to be a prefix/suffix of another)
|
|
# Note: 'true' is expected by clang-tidy 12+ but '1' is used for compatibility with older versions
|
|
- key: readability-inconsistent-declaration-parameter-name.Strict
|
|
value: 1
|