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:
Aaron Gokaslan 2022-02-09 12:37:45 -05:00 committed by GitHub
parent abc38690dc
commit 7f9758165d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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,