cleanup: Prefer compiler provided special member functions

This commit is contained in:
Regina Pfeifer
2019-01-23 00:32:51 +01:00
committed by Brad King
parent 55671b41d2
commit 094f01d0f0
38 changed files with 11 additions and 113 deletions

View File

@@ -18,15 +18,13 @@ class cmMakefile;
class cmFunctionFunctionBlocker : public cmFunctionBlocker
{
public:
cmFunctionFunctionBlocker() { this->Depth = 0; }
~cmFunctionFunctionBlocker() override = default;
bool IsFunctionBlocked(const cmListFileFunction&, cmMakefile& mf,
cmExecutionStatus&) override;
bool ShouldRemove(const cmListFileFunction&, cmMakefile& mf) override;
std::vector<std::string> Args;
std::vector<cmListFileFunction> Functions;
int Depth;
int Depth = 0;
};
/// Starts function() ... endfunction() block