clang-tidy: Use = default

Suppress some cases in `Source/cmGeneratorExpressionNode.cxx` and
`Source/cmUVHandlePtr.h` where a few older compilers require a
user-defined default constructor (with `{}`).
This commit is contained in:
Regina Pfeifer
2019-01-22 23:44:50 +01:00
committed by Brad King
parent a7f5cd45e1
commit 55671b41d2
151 changed files with 241 additions and 463 deletions

View File

@@ -19,7 +19,7 @@ class cmFunctionFunctionBlocker : public cmFunctionBlocker
{
public:
cmFunctionFunctionBlocker() { this->Depth = 0; }
~cmFunctionFunctionBlocker() override {}
~cmFunctionFunctionBlocker() override = default;
bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile& mf,
cmExecutionStatus&) override;
bool ShouldRemove(const cmListFileFunction&, cmMakefile& mf) override;