diff options
author | Ed Tanous <edtanous@google.com> | 2022-01-07 00:12:53 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2022-01-12 22:00:37 +0300 |
commit | 543f44000a992870ff76e76888dd589a3a31ed4e (patch) | |
tree | 9e4363d871da1643f25856665585bb8c6e251aa3 /.clang-tidy | |
parent | d63c72ea488b808f5574e61585334a3ffb90c258 (diff) | |
download | bmcweb-543f44000a992870ff76e76888dd589a3a31ed4e.tar.xz |
Enable init checker
clang-tidy added cppcoreguidelines-init-variables as a check, which is
something we already enforce to some extent, but getting CI to enforce
it will help reviews move faster.
Tested: Code compiles. Noop changes.
Signed-off-by: Ed Tanous <edtanous@google.com>
Change-Id: I7e10950de617b1d3262265572b1703f2e60b69d0
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 6704aff4c5..6f3c69d70a 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -201,6 +201,7 @@ clang-analyzer-valist.Unterminated, clang-analyzer-valist.ValistBase, clang-analyzer-webkit.NoUncountedMemberChecker, clang-analyzer-webkit.RefCntblBaseVirtualDtor, +cppcoreguidelines-init-variables, misc-misplaced-const, #misc-no-recursion, misc-redundant-expression, |