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

This commit is contained in:
Ben Boeckel
2021-01-22 10:38:50 -05:00
parent ca505718f4
commit 9ac8dbbb94
2 changed files with 2 additions and 3 deletions

View File

@@ -26,7 +26,6 @@ readability-*,\
-readability-magic-numbers,\ -readability-magic-numbers,\
-readability-named-parameter,\ -readability-named-parameter,\
-readability-redundant-declaration,\ -readability-redundant-declaration,\
-readability-simplify-boolean-expr,\
-readability-uppercase-literal-suffix,\ -readability-uppercase-literal-suffix,\
-readability-use-anyofallof,\ -readability-use-anyofallof,\
" "

View File

@@ -221,8 +221,8 @@ void CCONV cmAddUtilityCommand(void* arg, const char* utilityName,
// Pass the call to the makefile instance. // Pass the call to the makefile instance.
std::vector<std::string> no_byproducts; std::vector<std::string> no_byproducts;
mf->AddUtilityCommand(utilityName, (all ? false : true), nullptr, mf->AddUtilityCommand(utilityName, !all, nullptr, no_byproducts, depends2,
no_byproducts, depends2, commandLines); commandLines);
} }
void CCONV cmAddCustomCommand(void* arg, const char* source, void CCONV cmAddCustomCommand(void* arg, const char* source,