mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-23 14:48:19 -05:00
clang-tidy: Silence use-equals-default warning
clang-tidy 7 has an option to suppress this warning in macros which defaults to '1'. Set the option to '0' and silence the warning explicitly.
This commit is contained in:
@@ -95,7 +95,7 @@ static const struct ZeroNode installInterfaceNode;
|
||||
#define BOOLEAN_OP_NODE(OPNAME, OP, SUCCESS_VALUE, FAILURE_VALUE) \
|
||||
static const struct OP##Node : public cmGeneratorExpressionNode \
|
||||
{ \
|
||||
OP##Node() {} \
|
||||
OP##Node() {} /* NOLINT(modernize-use-equals-default) */ \
|
||||
virtual int NumExpectedParameters() const { return OneOrMoreParameters; } \
|
||||
\
|
||||
std::string Evaluate(const std::vector<std::string>& parameters, \
|
||||
|
||||
Reference in New Issue
Block a user