summaryrefslogtreecommitdiff
path: root/.clang-tidy
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2022-01-07 20:42:21 +0300
committerEd Tanous <ed@tanous.net>2022-01-12 22:02:49 +0300
commitadf3d0e54da2836d9ff74980a3c82a51f6f03297 (patch)
treefb2910389cdf37b487a4af26d44356aa04aa1d2c /.clang-tidy
parentfcc5aa66f2dca9f33c70df8dcd828ac4f31d7a92 (diff)
downloadbmcweb-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-tidy1
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,