diff options
-rw-r--r-- | .clang-tidy | 1 | ||||
-rw-r--r-- | Source/cmCPluginAPI.cxx | 4 |
2 files changed, 2 insertions, 3 deletions
diff --git a/.clang-tidy b/.clang-tidy index 8aeaee6..068a34e 100644 --- a/.clang-tidy +++ b/.clang-tidy @@ -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,\ " 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, |