summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-01-30 16:51:07 (GMT)
committerRegina Pfeifer <regina@mailbox.org>2019-01-30 16:51:07 (GMT)
commit3f9822ff6d2e38ef9aedc54d654e3afc635596fd (patch)
tree831355ea44f7fa7cfdaba282cd9bb1fbd42f5c36 /Source
parent748d024551d8f447046363ad617fc72bdd977fd2 (diff)
downloadCMake-3f9822ff6d2e38ef9aedc54d654e3afc635596fd.zip
CMake-3f9822ff6d2e38ef9aedc54d654e3afc635596fd.tar.gz
CMake-3f9822ff6d2e38ef9aedc54d654e3afc635596fd.tar.bz2
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.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmGeneratorExpressionNode.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGeneratorExpressionNode.cxx b/Source/cmGeneratorExpressionNode.cxx
index eb66ed5..aac188e 100644
--- a/Source/cmGeneratorExpressionNode.cxx
+++ b/Source/cmGeneratorExpressionNode.cxx
@@ -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, \