mirror of
https://github.com/Kitware/CMake.git
synced 2026-08-03 06:10:28 +00:00
clang-tidy: fix readability-simplify-boolean-expr warnings
This commit is contained in:
@@ -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,\
|
||||||
"
|
"
|
||||||
|
|||||||
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user