mirror of
https://github.com/godotengine/godot.git
synced 2024-11-21 03:18:37 +08:00
89a311205f
• `modernize-use-default-member-init` and `readability-redundant-member-init` • Minor adjustments to `.clang-tidy` to improve syntax & remove redundancies
20 lines
785 B
YAML
20 lines
785 B
YAML
Checks:
|
|
- -*
|
|
- cppcoreguidelines-pro-type-member-init
|
|
- modernize-redundant-void-arg
|
|
- modernize-use-bool-literals
|
|
- modernize-use-default-member-init
|
|
- modernize-use-nullptr
|
|
- readability-braces-around-statements
|
|
- readability-redundant-member-init
|
|
HeaderFileExtensions: ['', h, hh, hpp, hxx, inc, glsl]
|
|
ImplementationFileExtensions: [c, cc, cpp, cxx, m, mm, java]
|
|
HeaderFilterRegex: (core|doc|drivers|editor|main|modules|platform|scene|servers|tests)/
|
|
FormatStyle: file
|
|
CheckOptions:
|
|
cppcoreguidelines-pro-type-member-init.IgnoreArrays: true
|
|
cppcoreguidelines-pro-type-member-init.UseAssignment: true
|
|
modernize-use-bool-literals.IgnoreMacros: false
|
|
modernize-use-default-member-init.IgnoreMacros: false
|
|
modernize-use-default-member-init.UseAssignment: true
|