1
0
mirror of https://github.com/Kitware/CMake.git synced 2025-10-14 19:08:07 +08:00

cmCommand: remove unused methods from interface and all implementations

This commit is contained in:
Daniel Pfeifer
2017-05-10 22:48:31 +02:00
parent 4ba25a823e
commit a1218f59d9
113 changed files with 7 additions and 571 deletions

View File

@@ -20,11 +20,6 @@ public:
///! clean up any memory allocated by the function
~cmFunctionHelperCommand() CM_OVERRIDE {}
/**
* This determines if the command is defined in a cmake script.
*/
bool IsUserDefined() const CM_OVERRIDE { return true; }
/**
* This is a virtual constructor for the command.
*/
@@ -52,11 +47,6 @@ public:
return false;
}
/**
* The name of the command as specified in CMakeList.txt.
*/
std::string GetName() const CM_OVERRIDE { return this->Args[0]; }
std::vector<std::string> Args;
std::vector<cmListFileFunction> Functions;
cmPolicies::PolicyMap Policies;