diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-07 20:42:21 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-01-12 22:02:49 +0300 |
commit | adf3d0e54da2836d9ff74980a3c82a51f6f03297 (patch) | |
tree | fb2910389cdf37b487a4af26d44356aa04aa1d2c /.clang-tidy | |
parent | fcc5aa66f2dca9f33c70df8dcd828ac4f31d7a92 (diff) | |
download | bmcweb-adf3d0e54da2836d9ff74980a3c82a51f6f03297.tar.xz |
Enable pro-type-static-cast-downcast checks
We only had one usage, and it was really bad and breaking const
correctness, so fix it to read the crashdump in inline.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I234946fe09d73a9fa0191a15a89d0b2c26f32337
Diffstat (limited to '.clang-tidy')
-rw-r--r-- | .clang-tidy | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/.clang-tidy b/.clang-tidy index c15af94606..7f36b77c1f 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -211,6 +211,7 @@ cppcoreguidelines-pro-type-const-cast, cppcoreguidelines-pro-type-cstyle-cast, cppcoreguidelines-pro-type-member-init, cppcoreguidelines-pro-type-reinterpret-cast, +cppcoreguidelines-pro-type-static-cast-downcast, cppcoreguidelines-pro-type-vararg, cppcoreguidelines-special-member-functions, misc-misplaced-const, |