From 9ac8dbbb941194e79fd59acfc4affa018a222745 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Fri, 22 Jan 2021 10:38:50 -0500 Subject: clang-tidy: fix `readability-simplify-boolean-expr` warnings --- Source/cmCPluginAPI.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/cmCPluginAPI.cxx') diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx index 987b0eb35b..0295b33b2e 100644 --- a/Source/cmCPluginAPI.cxx +++ b/Source/cmCPluginAPI.cxx @@ -221,8 +221,8 @@ void CCONV cmAddUtilityCommand(void* arg, const char* utilityName, // Pass the call to the makefile instance. std::vector no_byproducts; - mf->AddUtilityCommand(utilityName, (all ? false : true), nullptr, - no_byproducts, depends2, commandLines); + mf->AddUtilityCommand(utilityName, !all, nullptr, no_byproducts, depends2, + commandLines); } void CCONV cmAddCustomCommand(void* arg, const char* source, -- cgit v1.2.1