mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-04 12:49:36 -06:00
clang-tidy: fix readability-simplify-boolean-expr warnings
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user