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
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@ FormatStyle: file
Checks: '
*bugprone*,
cppcoreguidelines-init-variables,
cppcoreguidelines-pro-type-static-cast-downcast,
cppcoreguidelines-slicing,
clang-analyzer-optin.cplusplus.VirtualCall,
google-explicit-constructor,
@ -37,6 +38,7 @@ readability-container-size-empty,
readability-delete-null-pointer,
readability-else-after-return,
readability-implicit-bool-conversion,
readability-inconsistent-declaration-parameter-name,
readability-make-member-function-const,
readability-misplaced-array-index,
readability-non-const-parameter,