Skip to content

Commit

Permalink
chore(clang-tidy): Enable static downcast and decl naming check (#3709)
Browse files Browse the repository at this point in the history
* Enable static downcast check

* Add inconsistent declaration naming check
  • Loading branch information
Skylion007 authored Feb 9, 2022
1 parent abc3869 commit 7f97581
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .clang-tidy
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down Expand Up @@ -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,
Expand Down

0 comments on commit 7f97581

Please sign in to comment.