Commit 9ac8dbbb authored by Ben Boeckel's avatar Ben Boeckel
Browse files

clang-tidy: fix `readability-simplify-boolean-expr` warnings

parent ca505718
......@@ -26,7 +26,6 @@ readability-*,\
-readability-magic-numbers,\
-readability-named-parameter,\
-readability-redundant-declaration,\
-readability-simplify-boolean-expr,\
-readability-uppercase-literal-suffix,\
-readability-use-anyofallof,\
"
......
......@@ -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,
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment