From e662eae819f545ef07193f216b42e161b7ff7a46 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 25 Jan 2022 10:39:19 -0800 Subject: Enable readability-implicit-bool-conversion checks These checks ensure that we're not implicitly converting ints or pointers into bools, which makes the code easier to read. Tested: Ran series through redfish service validator. No changes observed. UUID failing in Qemu both before and after. Signed-off-by: Ed Tanous Change-Id: I1ca0be980d136bd4e5474341f4fd62f2f6bbdbae --- .clang-tidy | 1 + 1 file changed, 1 insertion(+) (limited to '.clang-tidy') diff --git a/.clang-tidy b/.clang-tidy index 00276808ff..9958891b15 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -275,6 +275,7 @@ readability-container-size-empty, readability-delete-null-pointer, readability-deleted-default, readability-else-after-return, +readability-implicit-bool-conversion, readability-named-parameter, readability-redundant-control-flow, readability-redundant-declaration, -- cgit v1.2.3