summaryrefslogtreecommitdiffstats
path: root/Source/cmCPluginAPI.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2021-01-22 15:38:50 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2021-01-27 13:45:45 (GMT)
commit9ac8dbbb941194e79fd59acfc4affa018a222745 (patch)
tree503fc4a489e9e6b3e0ae9204725d154f3e7f3c45 /Source/cmCPluginAPI.cxx
parentca505718f45bbb5353618f953028197efc16b874 (diff)
downloadCMake-9ac8dbbb941194e79fd59acfc4affa018a222745.zip
CMake-9ac8dbbb941194e79fd59acfc4affa018a222745.tar.gz
CMake-9ac8dbbb941194e79fd59acfc4affa018a222745.tar.bz2
clang-tidy: fix `readability-simplify-boolean-expr` warnings
Diffstat (limited to 'Source/cmCPluginAPI.cxx')
-rw-r--r--Source/cmCPluginAPI.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmCPluginAPI.cxx b/Source/cmCPluginAPI.cxx
index 987b0eb..0295b33 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<std::string> 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,