mirror of
https://github.com/pybind/pybind11.git
synced 2024-11-22 13:15:12 +00:00
chore(clang-tidy): Enable static downcast and decl naming check (#3709)
* Enable static downcast check * Add inconsistent declaration naming check
This commit is contained in:
parent
abc38690dc
commit
7f9758165d
@ -3,6 +3,7 @@ FormatStyle: file
|
|||||||
Checks: '
|
Checks: '
|
||||||
*bugprone*,
|
*bugprone*,
|
||||||
cppcoreguidelines-init-variables,
|
cppcoreguidelines-init-variables,
|
||||||
|
cppcoreguidelines-pro-type-static-cast-downcast,
|
||||||
cppcoreguidelines-slicing,
|
cppcoreguidelines-slicing,
|
||||||
clang-analyzer-optin.cplusplus.VirtualCall,
|
clang-analyzer-optin.cplusplus.VirtualCall,
|
||||||
google-explicit-constructor,
|
google-explicit-constructor,
|
||||||
@ -37,6 +38,7 @@ readability-container-size-empty,
|
|||||||
readability-delete-null-pointer,
|
readability-delete-null-pointer,
|
||||||
readability-else-after-return,
|
readability-else-after-return,
|
||||||
readability-implicit-bool-conversion,
|
readability-implicit-bool-conversion,
|
||||||
|
readability-inconsistent-declaration-parameter-name,
|
||||||
readability-make-member-function-const,
|
readability-make-member-function-const,
|
||||||
readability-misplaced-array-index,
|
readability-misplaced-array-index,
|
||||||
readability-non-const-parameter,
|
readability-non-const-parameter,
|
||||||
|
Loading…
Reference in New Issue
Block a user