mark functions with CM_OVERRIDE
This commit is contained in:
parent
9e2d6f0c4d
commit
a7a9239096
|
@ -46,7 +46,7 @@ public:
|
|||
/**
|
||||
* Destruct IFW generator
|
||||
*/
|
||||
virtual ~cmCPackIFWGenerator();
|
||||
~cmCPackIFWGenerator() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Compare \a version with QtIFW framework version
|
||||
|
@ -70,18 +70,18 @@ protected:
|
|||
* @brief Initialize generator
|
||||
* @return 0 on failure
|
||||
*/
|
||||
virtual int InitializeInternal();
|
||||
virtual int PackageFiles();
|
||||
virtual const char* GetPackagingInstallPrefix();
|
||||
int InitializeInternal() CM_OVERRIDE;
|
||||
int PackageFiles() CM_OVERRIDE;
|
||||
const char* GetPackagingInstallPrefix() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* @brief Extension of binary installer
|
||||
* @return Executable suffix or value from default implementation
|
||||
*/
|
||||
virtual const char* GetOutputExtension();
|
||||
const char* GetOutputExtension() CM_OVERRIDE;
|
||||
|
||||
virtual std::string GetComponentInstallDirNameSuffix(
|
||||
const std::string& componentName);
|
||||
std::string GetComponentInstallDirNameSuffix(
|
||||
const std::string& componentName) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* @brief Get Component
|
||||
|
@ -92,8 +92,8 @@ protected:
|
|||
*
|
||||
* @return Pointer to component
|
||||
*/
|
||||
virtual cmCPackComponent* GetComponent(const std::string& projectName,
|
||||
const std::string& componentName);
|
||||
cmCPackComponent* GetComponent(const std::string& projectName,
|
||||
const std::string& componentName) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* @brief Get group of component
|
||||
|
@ -104,12 +104,13 @@ protected:
|
|||
*
|
||||
* @return Pointer to component group
|
||||
*/
|
||||
virtual cmCPackComponentGroup* GetComponentGroup(
|
||||
const std::string& projectName, const std::string& groupName);
|
||||
cmCPackComponentGroup* GetComponentGroup(
|
||||
const std::string& projectName, const std::string& groupName) CM_OVERRIDE;
|
||||
|
||||
enum cmCPackGenerator::CPackSetDestdirSupport SupportsSetDestdir() const;
|
||||
virtual bool SupportsAbsoluteDestination() const;
|
||||
virtual bool SupportsComponentInstallation() const;
|
||||
enum cmCPackGenerator::CPackSetDestdirSupport SupportsSetDestdir() const
|
||||
CM_OVERRIDE;
|
||||
bool SupportsAbsoluteDestination() const CM_OVERRIDE;
|
||||
bool SupportsComponentInstallation() const CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
// Methods
|
||||
|
|
|
@ -27,10 +27,10 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPack7zGenerator();
|
||||
virtual ~cmCPack7zGenerator();
|
||||
~cmCPack7zGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual const char* GetOutputExtension() { return ".7z"; }
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".7z"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -32,14 +32,14 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackArchiveGenerator(cmArchiveWrite::Compress, std::string const& format);
|
||||
virtual ~cmCPackArchiveGenerator();
|
||||
~cmCPackArchiveGenerator() CM_OVERRIDE;
|
||||
// Used to add a header to the archive
|
||||
virtual int GenerateHeader(std::ostream* os);
|
||||
// component support
|
||||
virtual bool SupportsComponentInstallation() const;
|
||||
bool SupportsComponentInstallation() const CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual int InitializeInternal();
|
||||
int InitializeInternal() CM_OVERRIDE;
|
||||
/**
|
||||
* Add the files belonging to the specified component
|
||||
* to the provided (already opened) archive.
|
||||
|
@ -55,7 +55,7 @@ protected:
|
|||
* method will call either PackageComponents or
|
||||
* PackageComponentsAllInOne.
|
||||
*/
|
||||
int PackageFiles();
|
||||
int PackageFiles() CM_OVERRIDE;
|
||||
/**
|
||||
* The method used to package files when component
|
||||
* install is used. This will create one
|
||||
|
@ -67,7 +67,7 @@ protected:
|
|||
* components will be put in a single installer.
|
||||
*/
|
||||
int PackageComponentsAllInOne();
|
||||
virtual const char* GetOutputExtension() = 0;
|
||||
const char* GetOutputExtension() CM_OVERRIDE = 0;
|
||||
cmArchiveWrite::Compress Compress;
|
||||
std::string ArchiveFormat;
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackDebGenerator();
|
||||
virtual ~cmCPackDebGenerator();
|
||||
~cmCPackDebGenerator() CM_OVERRIDE;
|
||||
|
||||
static bool CanGenerate()
|
||||
{
|
||||
|
@ -45,7 +45,7 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
virtual int InitializeInternal();
|
||||
int InitializeInternal() CM_OVERRIDE;
|
||||
/**
|
||||
* This method factors out the work done in component packaging case.
|
||||
*/
|
||||
|
@ -62,11 +62,11 @@ protected:
|
|||
* components will be put in a single installer.
|
||||
*/
|
||||
int PackageComponentsAllInOne(const std::string& compInstDirName);
|
||||
virtual int PackageFiles();
|
||||
virtual const char* GetOutputExtension() { return ".deb"; }
|
||||
virtual bool SupportsComponentInstallation() const;
|
||||
virtual std::string GetComponentInstallDirNameSuffix(
|
||||
const std::string& componentName);
|
||||
int PackageFiles() CM_OVERRIDE;
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".deb"; }
|
||||
bool SupportsComponentInstallation() const CM_OVERRIDE;
|
||||
std::string GetComponentInstallDirNameSuffix(
|
||||
const std::string& componentName) CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
int createDeb();
|
||||
|
|
|
@ -101,7 +101,7 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackGenerator();
|
||||
virtual ~cmCPackGenerator();
|
||||
~cmCPackGenerator() CM_OVERRIDE;
|
||||
|
||||
//! Set and get the options
|
||||
void SetOption(const std::string& op, const char* value);
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
cmTypeMacro(cmCPackGeneratorFactory, cmObject);
|
||||
|
||||
cmCPackGeneratorFactory();
|
||||
~cmCPackGeneratorFactory();
|
||||
~cmCPackGeneratorFactory() CM_OVERRIDE;
|
||||
|
||||
//! Get the generator
|
||||
cmCPackGenerator* NewGenerator(const std::string& name);
|
||||
|
|
|
@ -42,7 +42,7 @@ public:
|
|||
cmTypeMacro(cmCPackLog, cmObject);
|
||||
|
||||
cmCPackLog();
|
||||
~cmCPackLog();
|
||||
~cmCPackLog() CM_OVERRIDE;
|
||||
|
||||
enum __log_tags
|
||||
{
|
||||
|
|
|
@ -36,21 +36,22 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackNSISGenerator(bool nsis64 = false);
|
||||
virtual ~cmCPackNSISGenerator();
|
||||
~cmCPackNSISGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual int InitializeInternal();
|
||||
int InitializeInternal() CM_OVERRIDE;
|
||||
void CreateMenuLinks(std::ostream& str, std::ostream& deleteStr);
|
||||
int PackageFiles();
|
||||
virtual const char* GetOutputExtension() { return ".exe"; }
|
||||
virtual const char* GetOutputPostfix() { return "win32"; }
|
||||
int PackageFiles() CM_OVERRIDE;
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".exe"; }
|
||||
const char* GetOutputPostfix() CM_OVERRIDE { return "win32"; }
|
||||
|
||||
bool GetListOfSubdirectories(const char* dir,
|
||||
std::vector<std::string>& dirs);
|
||||
|
||||
enum cmCPackGenerator::CPackSetDestdirSupport SupportsSetDestdir() const;
|
||||
virtual bool SupportsAbsoluteDestination() const;
|
||||
virtual bool SupportsComponentInstallation() const;
|
||||
enum cmCPackGenerator::CPackSetDestdirSupport SupportsSetDestdir() const
|
||||
CM_OVERRIDE;
|
||||
bool SupportsAbsoluteDestination() const CM_OVERRIDE;
|
||||
bool SupportsComponentInstallation() const CM_OVERRIDE;
|
||||
|
||||
/// Produce a string that contains the NSIS code to describe a
|
||||
/// particular component. Any added macros will be emitted via
|
||||
|
|
|
@ -32,7 +32,7 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackRPMGenerator();
|
||||
virtual ~cmCPackRPMGenerator();
|
||||
~cmCPackRPMGenerator() CM_OVERRIDE;
|
||||
|
||||
static bool CanGenerate()
|
||||
{
|
||||
|
@ -49,8 +49,8 @@ public:
|
|||
}
|
||||
|
||||
protected:
|
||||
virtual int InitializeInternal();
|
||||
virtual int PackageFiles();
|
||||
int InitializeInternal() CM_OVERRIDE;
|
||||
int PackageFiles() CM_OVERRIDE;
|
||||
/**
|
||||
* This method factors out the work done in component packaging case.
|
||||
*/
|
||||
|
@ -67,10 +67,10 @@ protected:
|
|||
* components will be put in a single installer.
|
||||
*/
|
||||
int PackageComponentsAllInOne(const std::string& compInstDirName);
|
||||
virtual const char* GetOutputExtension() { return ".rpm"; }
|
||||
virtual bool SupportsComponentInstallation() const;
|
||||
virtual std::string GetComponentInstallDirNameSuffix(
|
||||
const std::string& componentName);
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".rpm"; }
|
||||
bool SupportsComponentInstallation() const CM_OVERRIDE;
|
||||
std::string GetComponentInstallDirNameSuffix(
|
||||
const std::string& componentName) CM_OVERRIDE;
|
||||
|
||||
void AddGeneratedPackageNames();
|
||||
};
|
||||
|
|
|
@ -28,13 +28,13 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackSTGZGenerator();
|
||||
virtual ~cmCPackSTGZGenerator();
|
||||
~cmCPackSTGZGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
int PackageFiles();
|
||||
virtual int InitializeInternal();
|
||||
int GenerateHeader(std::ostream* os);
|
||||
virtual const char* GetOutputExtension() { return ".sh"; }
|
||||
int PackageFiles() CM_OVERRIDE;
|
||||
int InitializeInternal() CM_OVERRIDE;
|
||||
int GenerateHeader(std::ostream* os) CM_OVERRIDE;
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".sh"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,10 +27,10 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackTGZGenerator();
|
||||
virtual ~cmCPackTGZGenerator();
|
||||
~cmCPackTGZGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual const char* GetOutputExtension() { return ".tar.gz"; }
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".tar.gz"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,10 +27,10 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackTXZGenerator();
|
||||
virtual ~cmCPackTXZGenerator();
|
||||
~cmCPackTXZGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual const char* GetOutputExtension() { return ".tar.xz"; }
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".tar.xz"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -26,10 +26,10 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackTarBZip2Generator();
|
||||
virtual ~cmCPackTarBZip2Generator();
|
||||
~cmCPackTarBZip2Generator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual const char* GetOutputExtension() { return ".tar.bz2"; }
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".tar.bz2"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -26,10 +26,10 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackTarCompressGenerator();
|
||||
virtual ~cmCPackTarCompressGenerator();
|
||||
~cmCPackTarCompressGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual const char* GetOutputExtension() { return ".tar.Z"; }
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".tar.Z"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,10 +27,10 @@ public:
|
|||
* Construct generator
|
||||
*/
|
||||
cmCPackZIPGenerator();
|
||||
virtual ~cmCPackZIPGenerator();
|
||||
~cmCPackZIPGenerator() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual const char* GetOutputExtension() { return ".zip"; }
|
||||
const char* GetOutputExtension() CM_OVERRIDE { return ".zip"; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -183,7 +183,7 @@ public:
|
|||
{
|
||||
this->InitializeParser();
|
||||
}
|
||||
~LogParser() { this->CleanupParser(); }
|
||||
~LogParser() CM_OVERRIDE { this->CleanupParser(); }
|
||||
|
||||
int InitializeParser() CM_OVERRIDE
|
||||
{
|
||||
|
|
|
@ -24,20 +24,20 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestBZR(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestBZR();
|
||||
~cmCTestBZR() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
// Implement cmCTestVC internal API.
|
||||
virtual void NoteOldRevision();
|
||||
virtual void NoteNewRevision();
|
||||
virtual bool UpdateImpl();
|
||||
void NoteOldRevision() CM_OVERRIDE;
|
||||
void NoteNewRevision() CM_OVERRIDE;
|
||||
bool UpdateImpl() CM_OVERRIDE;
|
||||
|
||||
// URL of repository directory checked out in the working tree.
|
||||
std::string URL;
|
||||
|
||||
std::string LoadInfo();
|
||||
void LoadModifications();
|
||||
void LoadRevisions();
|
||||
void LoadModifications() CM_OVERRIDE;
|
||||
void LoadRevisions() CM_OVERRIDE;
|
||||
|
||||
// Parsing helper classes.
|
||||
class InfoParser;
|
||||
|
|
|
@ -28,8 +28,8 @@
|
|||
class cmCTestBatchTestHandler : public cmCTestMultiProcessHandler
|
||||
{
|
||||
public:
|
||||
~cmCTestBatchTestHandler();
|
||||
virtual void RunTests();
|
||||
~cmCTestBatchTestHandler() CM_OVERRIDE;
|
||||
void RunTests() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
void WriteBatchScript();
|
||||
|
|
|
@ -30,12 +30,12 @@ public:
|
|||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
//! Set all the build and test arguments
|
||||
virtual int ProcessCommandLineArguments(
|
||||
const std::string& currentArg, size_t& idx,
|
||||
const std::vector<std::string>& allArgs);
|
||||
int ProcessCommandLineArguments(const std::string& currentArg, size_t& idx,
|
||||
const std::vector<std::string>& allArgs)
|
||||
CM_OVERRIDE;
|
||||
|
||||
/*
|
||||
* Get the output variable
|
||||
|
@ -44,7 +44,7 @@ public:
|
|||
|
||||
cmCTestBuildAndTestHandler();
|
||||
|
||||
virtual void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
///! Run CMake and build a test and then run it as a single test.
|
||||
|
|
|
@ -26,12 +26,12 @@ class cmCTestBuildCommand : public cmCTestHandlerCommand
|
|||
{
|
||||
public:
|
||||
cmCTestBuildCommand();
|
||||
~cmCTestBuildCommand();
|
||||
~cmCTestBuildCommand() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestBuildCommand* ni = new cmCTestBuildCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -42,10 +42,10 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_build"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_build"; }
|
||||
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
cmTypeMacro(cmCTestBuildCommand, cmCTestHandlerCommand);
|
||||
|
||||
|
@ -65,7 +65,7 @@ protected:
|
|||
ctb_LAST
|
||||
};
|
||||
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -36,16 +36,16 @@ public:
|
|||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
cmCTestBuildHandler();
|
||||
|
||||
void PopulateCustomVectors(cmMakefile* mf);
|
||||
void PopulateCustomVectors(cmMakefile* mf) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Initialize handler
|
||||
*/
|
||||
virtual void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
int GetTotalErrors() { return this->TotalErrors; }
|
||||
int GetTotalWarnings() { return this->TotalWarnings; }
|
||||
|
|
|
@ -24,12 +24,12 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestCVS(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestCVS();
|
||||
~cmCTestCVS() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
// Implement cmCTestVC internal API.
|
||||
virtual bool UpdateImpl();
|
||||
virtual bool WriteXMLUpdates(cmXMLWriter& xml);
|
||||
bool UpdateImpl() CM_OVERRIDE;
|
||||
bool WriteXMLUpdates(cmXMLWriter& xml) CM_OVERRIDE;
|
||||
|
||||
// Update status for files in each directory.
|
||||
class Directory : public std::map<std::string, PathStatus>
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestConfigureCommand* ni = new cmCTestConfigureCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -38,12 +38,12 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_configure"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_configure"; }
|
||||
|
||||
cmTypeMacro(cmCTestConfigureCommand, cmCTestHandlerCommand);
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -29,11 +29,11 @@ public:
|
|||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
cmCTestConfigureHandler();
|
||||
|
||||
void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestCoverageCommand* ni = new cmCTestCoverageCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -38,15 +38,15 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_coverage"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_coverage"; }
|
||||
|
||||
cmTypeMacro(cmCTestCoverageCommand, cmCTestHandlerCommand);
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
|
||||
virtual bool CheckArgumentKeyword(std::string const& arg);
|
||||
virtual bool CheckArgumentValue(std::string const& arg);
|
||||
bool CheckArgumentKeyword(std::string const& arg) CM_OVERRIDE;
|
||||
bool CheckArgumentValue(std::string const& arg) CM_OVERRIDE;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -45,16 +45,16 @@ public:
|
|||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
cmCTestCoverageHandler();
|
||||
|
||||
virtual void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This method is called when reading CTest custom file
|
||||
*/
|
||||
void PopulateCustomVectors(cmMakefile* mf);
|
||||
void PopulateCustomVectors(cmMakefile* mf) CM_OVERRIDE;
|
||||
|
||||
/** Report coverage only for sources with these labels. */
|
||||
void SetLabelFilter(std::set<std::string> const& labels);
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestEmptyBinaryDirectoryCommand* ni =
|
||||
new cmCTestEmptyBinaryDirectoryCommand;
|
||||
|
@ -41,13 +41,13 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "ctest_empty_binary_directory";
|
||||
}
|
||||
|
|
|
@ -24,15 +24,15 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestGIT(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestGIT();
|
||||
~cmCTestGIT() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
unsigned int CurrentGitVersion;
|
||||
unsigned int GetGitVersion();
|
||||
std::string GetWorkingRevision();
|
||||
virtual void NoteOldRevision();
|
||||
virtual void NoteNewRevision();
|
||||
virtual bool UpdateImpl();
|
||||
void NoteOldRevision() CM_OVERRIDE;
|
||||
void NoteNewRevision() CM_OVERRIDE;
|
||||
bool UpdateImpl() CM_OVERRIDE;
|
||||
|
||||
std::string FindGitDir();
|
||||
std::string FindTopDir();
|
||||
|
@ -41,8 +41,8 @@ private:
|
|||
bool UpdateByCustom(std::string const& custom);
|
||||
bool UpdateInternal();
|
||||
|
||||
void LoadRevisions();
|
||||
void LoadModifications();
|
||||
void LoadRevisions() CM_OVERRIDE;
|
||||
void LoadModifications() CM_OVERRIDE;
|
||||
|
||||
// "public" needed by older Sun compilers
|
||||
public:
|
||||
|
|
|
@ -74,7 +74,7 @@ public:
|
|||
* Construct handler
|
||||
*/
|
||||
cmCTestGenericHandler();
|
||||
virtual ~cmCTestGenericHandler();
|
||||
~cmCTestGenericHandler() CM_OVERRIDE;
|
||||
|
||||
typedef std::map<std::string, std::string> t_StringToString;
|
||||
|
||||
|
|
|
@ -26,11 +26,11 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestGlobalVC(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestGlobalVC();
|
||||
~cmCTestGlobalVC() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
// Implement cmCTestVC internal API.
|
||||
virtual bool WriteXMLUpdates(cmXMLWriter& xml);
|
||||
bool WriteXMLUpdates(cmXMLWriter& xml) CM_OVERRIDE;
|
||||
|
||||
/** Represent a vcs-reported action for one path in a revision. */
|
||||
struct Change
|
||||
|
|
|
@ -171,7 +171,7 @@ public:
|
|||
{
|
||||
this->InitializeParser();
|
||||
}
|
||||
~LogParser() { this->CleanupParser(); }
|
||||
~LogParser() CM_OVERRIDE { this->CleanupParser(); }
|
||||
private:
|
||||
cmCTestHG* HG;
|
||||
|
||||
|
|
|
@ -24,16 +24,16 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestHG(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestHG();
|
||||
~cmCTestHG() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
std::string GetWorkingRevision();
|
||||
virtual void NoteOldRevision();
|
||||
virtual void NoteNewRevision();
|
||||
virtual bool UpdateImpl();
|
||||
void NoteOldRevision() CM_OVERRIDE;
|
||||
void NoteNewRevision() CM_OVERRIDE;
|
||||
bool UpdateImpl() CM_OVERRIDE;
|
||||
|
||||
void LoadRevisions();
|
||||
void LoadModifications();
|
||||
void LoadRevisions() CM_OVERRIDE;
|
||||
void LoadModifications() CM_OVERRIDE;
|
||||
|
||||
// Parsing helper classes.
|
||||
class IdentifyParser;
|
||||
|
|
|
@ -30,8 +30,8 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
cmTypeMacro(cmCTestHandlerCommand, cmCTestCommand);
|
||||
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestMemCheckCommand* ni = new cmCTestMemCheckCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -40,12 +40,12 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_memcheck"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_memcheck"; }
|
||||
|
||||
cmTypeMacro(cmCTestMemCheckCommand, cmCTestTestCommand);
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeActualHandler();
|
||||
cmCTestGenericHandler* InitializeActualHandler() CM_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -33,16 +33,17 @@ class cmCTestMemCheckHandler : public cmCTestTestHandler
|
|||
public:
|
||||
cmTypeMacro(cmCTestMemCheckHandler, cmCTestTestHandler);
|
||||
|
||||
void PopulateCustomVectors(cmMakefile* mf);
|
||||
void PopulateCustomVectors(cmMakefile* mf) CM_OVERRIDE;
|
||||
|
||||
cmCTestMemCheckHandler();
|
||||
|
||||
void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual int PreProcessHandler();
|
||||
virtual int PostProcessHandler();
|
||||
virtual void GenerateTestCommand(std::vector<std::string>& args, int test);
|
||||
int PreProcessHandler() CM_OVERRIDE;
|
||||
int PostProcessHandler() CM_OVERRIDE;
|
||||
void GenerateTestCommand(std::vector<std::string>& args,
|
||||
int test) CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
enum
|
||||
|
@ -125,7 +126,7 @@ private:
|
|||
/**
|
||||
* Generate the Dart compatible output
|
||||
*/
|
||||
void GenerateDartOutput(cmXMLWriter& xml);
|
||||
void GenerateDartOutput(cmXMLWriter& xml) CM_OVERRIDE;
|
||||
|
||||
std::vector<std::string> CustomPreMemCheck;
|
||||
std::vector<std::string> CustomPostMemCheck;
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestP4(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestP4();
|
||||
~cmCTestP4() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
std::vector<std::string> ChangeLists;
|
||||
|
@ -54,13 +54,13 @@ private:
|
|||
void SetP4Options(std::vector<char const*>& options);
|
||||
|
||||
std::string GetWorkingRevision();
|
||||
virtual void NoteOldRevision();
|
||||
virtual void NoteNewRevision();
|
||||
virtual bool UpdateImpl();
|
||||
void NoteOldRevision() CM_OVERRIDE;
|
||||
void NoteNewRevision() CM_OVERRIDE;
|
||||
bool UpdateImpl() CM_OVERRIDE;
|
||||
bool UpdateCustom(const std::string& custom);
|
||||
|
||||
void LoadRevisions();
|
||||
void LoadModifications();
|
||||
void LoadRevisions() CM_OVERRIDE;
|
||||
void LoadModifications() CM_OVERRIDE;
|
||||
|
||||
// Parsing helper classes.
|
||||
class IdentifyParser;
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestReadCustomFilesCommand* ni = new cmCTestReadCustomFilesCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -39,13 +39,13 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_read_custom_files"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_read_custom_files"; }
|
||||
|
||||
cmTypeMacro(cmCTestReadCustomFilesCommand, cmCTestCommand);
|
||||
};
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestRunScriptCommand* ni = new cmCTestRunScriptCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -40,13 +40,13 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_run_script"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_run_script"; }
|
||||
|
||||
cmTypeMacro(cmCTestRunScriptCommand, cmCTestCommand);
|
||||
};
|
||||
|
|
|
@ -311,7 +311,7 @@ public:
|
|||
{
|
||||
this->InitializeParser();
|
||||
}
|
||||
~LogParser() { this->CleanupParser(); }
|
||||
~LogParser() CM_OVERRIDE { this->CleanupParser(); }
|
||||
private:
|
||||
cmCTestSVN* SVN;
|
||||
cmCTestSVN::SVNInfo& SVNRepo;
|
||||
|
|
|
@ -26,14 +26,14 @@ public:
|
|||
/** Construct with a CTest instance and update log stream. */
|
||||
cmCTestSVN(cmCTest* ctest, std::ostream& log);
|
||||
|
||||
virtual ~cmCTestSVN();
|
||||
~cmCTestSVN() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
// Implement cmCTestVC internal API.
|
||||
virtual void CleanupImpl();
|
||||
virtual void NoteOldRevision();
|
||||
virtual void NoteNewRevision();
|
||||
virtual bool UpdateImpl();
|
||||
void CleanupImpl() CM_OVERRIDE;
|
||||
void NoteOldRevision() CM_OVERRIDE;
|
||||
void NoteNewRevision() CM_OVERRIDE;
|
||||
bool UpdateImpl() CM_OVERRIDE;
|
||||
|
||||
bool RunSVNCommand(std::vector<char const*> const& parameters,
|
||||
OutputParser* out, OutputParser* err);
|
||||
|
@ -78,8 +78,8 @@ private:
|
|||
|
||||
std::string LoadInfo(SVNInfo& svninfo);
|
||||
void LoadExternals();
|
||||
void LoadModifications();
|
||||
void LoadRevisions();
|
||||
void LoadModifications() CM_OVERRIDE;
|
||||
void LoadRevisions() CM_OVERRIDE;
|
||||
void LoadRevisions(SVNInfo& svninfo);
|
||||
|
||||
void GuessBase(SVNInfo& svninfo, std::vector<Change> const& changes);
|
||||
|
@ -87,7 +87,7 @@ private:
|
|||
void DoRevisionSVN(Revision const& revision,
|
||||
std::vector<Change> const& changes);
|
||||
|
||||
void WriteXMLGlobal(cmXMLWriter& xml);
|
||||
void WriteXMLGlobal(cmXMLWriter& xml) CM_OVERRIDE;
|
||||
|
||||
// Parsing helper classes.
|
||||
class InfoParser;
|
||||
|
|
|
@ -59,7 +59,7 @@ class cmCTestScriptFunctionBlocker : public cmFunctionBlocker
|
|||
{
|
||||
public:
|
||||
cmCTestScriptFunctionBlocker() {}
|
||||
virtual ~cmCTestScriptFunctionBlocker() {}
|
||||
~cmCTestScriptFunctionBlocker() CM_OVERRIDE {}
|
||||
bool IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile& mf,
|
||||
cmExecutionStatus&) CM_OVERRIDE;
|
||||
// virtual bool ShouldRemove(const cmListFileFunction& lff, cmMakefile &mf);
|
||||
|
|
|
@ -71,7 +71,7 @@ public:
|
|||
/**
|
||||
* Run a dashboard using a specified confiuration script
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
/*
|
||||
* Run a script
|
||||
|
@ -104,9 +104,9 @@ public:
|
|||
double GetRemainingTimeAllowed();
|
||||
|
||||
cmCTestScriptHandler();
|
||||
~cmCTestScriptHandler();
|
||||
~cmCTestScriptHandler() CM_OVERRIDE;
|
||||
|
||||
void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
void CreateCMake();
|
||||
cmake* GetCMake() { return this->CMake; }
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestSleepCommand* ni = new cmCTestSleepCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -40,13 +40,13 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_sleep"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_sleep"; }
|
||||
|
||||
cmTypeMacro(cmCTestSleepCommand, cmCTestCommand);
|
||||
};
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestStartCommand* ni = new cmCTestStartCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -41,8 +41,8 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Will this invocation of ctest_start create a new TAG file?
|
||||
|
@ -57,7 +57,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_start"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_start"; }
|
||||
|
||||
cmTypeMacro(cmCTestStartCommand, cmCTestCommand);
|
||||
|
||||
|
|
|
@ -38,7 +38,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestSubmitCommand* ni = new cmCTestSubmitCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -46,21 +46,21 @@ public:
|
|||
return ni;
|
||||
}
|
||||
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_submit"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_submit"; }
|
||||
|
||||
cmTypeMacro(cmCTestSubmitCommand, cmCTestHandlerCommand);
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
|
||||
virtual bool CheckArgumentKeyword(std::string const& arg);
|
||||
virtual bool CheckArgumentValue(std::string const& arg);
|
||||
bool CheckArgumentKeyword(std::string const& arg) CM_OVERRIDE;
|
||||
bool CheckArgumentValue(std::string const& arg) CM_OVERRIDE;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -41,7 +41,7 @@ class cmCTestSubmitHandler::ResponseParser : public cmXMLParser
|
|||
{
|
||||
public:
|
||||
ResponseParser() { this->Status = STATUS_OK; }
|
||||
~ResponseParser() {}
|
||||
~ResponseParser() CM_OVERRIDE {}
|
||||
|
||||
public:
|
||||
enum StatusType
|
||||
|
|
|
@ -26,14 +26,14 @@ public:
|
|||
cmTypeMacro(cmCTestSubmitHandler, cmCTestGenericHandler);
|
||||
|
||||
cmCTestSubmitHandler();
|
||||
~cmCTestSubmitHandler() { this->LogFile = 0; }
|
||||
~cmCTestSubmitHandler() CM_OVERRIDE { this->LogFile = 0; }
|
||||
|
||||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
/** Specify a set of parts (by name) to submit. */
|
||||
void SelectParts(std::set<cmCTest::Part> const& parts);
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestTestCommand* ni = new cmCTestTestCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -38,13 +38,13 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_test"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_test"; }
|
||||
|
||||
cmTypeMacro(cmCTestTestCommand, cmCTestHandlerCommand);
|
||||
|
||||
protected:
|
||||
virtual cmCTestGenericHandler* InitializeActualHandler();
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -36,7 +36,7 @@ public:
|
|||
/**
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* When both -R and -I are used should te resulting test list be the
|
||||
|
@ -54,7 +54,7 @@ public:
|
|||
/**
|
||||
* This method is called when reading CTest custom file
|
||||
*/
|
||||
void PopulateCustomVectors(cmMakefile* mf);
|
||||
void PopulateCustomVectors(cmMakefile* mf) CM_OVERRIDE;
|
||||
|
||||
///! Control the use of the regular expresisons, call these methods to turn
|
||||
/// them on
|
||||
|
@ -90,7 +90,7 @@ public:
|
|||
*/
|
||||
bool SetTestsProperties(const std::vector<std::string>& args);
|
||||
|
||||
void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
// NOTE: This struct is Saved/Restored
|
||||
// in cmCTestTestHandler, if you add to this class
|
||||
|
|
|
@ -27,7 +27,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestUpdateCommand* ni = new cmCTestUpdateCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -38,12 +38,12 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_update"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_update"; }
|
||||
|
||||
cmTypeMacro(cmCTestUpdateCommand, cmCTestHandlerCommand);
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -29,7 +29,7 @@ public:
|
|||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
cmCTestUpdateHandler();
|
||||
|
||||
|
@ -48,7 +48,7 @@ public:
|
|||
/**
|
||||
* Initialize handler
|
||||
*/
|
||||
virtual void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
// Some structures needed for update
|
||||
|
|
|
@ -30,7 +30,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
cmCTestUploadCommand* ni = new cmCTestUploadCommand;
|
||||
ni->CTest = this->CTest;
|
||||
|
@ -41,15 +41,15 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "ctest_upload"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "ctest_upload"; }
|
||||
|
||||
cmTypeMacro(cmCTestUploadCommand, cmCTestHandlerCommand);
|
||||
|
||||
protected:
|
||||
cmCTestGenericHandler* InitializeHandler();
|
||||
cmCTestGenericHandler* InitializeHandler() CM_OVERRIDE;
|
||||
|
||||
virtual bool CheckArgumentKeyword(std::string const& arg);
|
||||
virtual bool CheckArgumentValue(std::string const& arg);
|
||||
bool CheckArgumentKeyword(std::string const& arg) CM_OVERRIDE;
|
||||
bool CheckArgumentValue(std::string const& arg) CM_OVERRIDE;
|
||||
|
||||
enum
|
||||
{
|
||||
|
|
|
@ -26,14 +26,14 @@ public:
|
|||
cmTypeMacro(cmCTestUploadHandler, cmCTestGenericHandler);
|
||||
|
||||
cmCTestUploadHandler();
|
||||
~cmCTestUploadHandler() {}
|
||||
~cmCTestUploadHandler() CM_OVERRIDE {}
|
||||
|
||||
/*
|
||||
* The main entry point for this class
|
||||
*/
|
||||
int ProcessHandler();
|
||||
int ProcessHandler() CM_OVERRIDE;
|
||||
|
||||
void Initialize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
|
||||
/** Specify a set of files to submit. */
|
||||
void SetFiles(cmCTest::SetOfStrings const& files);
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
protected:
|
||||
// implement virtual from parent
|
||||
bool LoadCoverageData(const char* dir);
|
||||
bool LoadCoverageData(const char* dir) CM_OVERRIDE;
|
||||
// remove files with no coverage
|
||||
void RemoveUnCoveredFiles();
|
||||
// Read a single mcov file
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
this->CurFileName = "";
|
||||
}
|
||||
|
||||
virtual ~XMLParser() {}
|
||||
~XMLParser() CM_OVERRIDE {}
|
||||
|
||||
protected:
|
||||
void EndElement(const std::string& name) CM_OVERRIDE
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
|
||||
protected:
|
||||
// implement virtual from parent
|
||||
bool LoadCoverageData(const char* dir);
|
||||
bool LoadCoverageData(const char* dir) CM_OVERRIDE;
|
||||
// Read a single mcov file
|
||||
bool ReadMCovFile(const char* f);
|
||||
// find out what line in a mumps file (filepath) the given entry point
|
||||
|
|
|
@ -20,7 +20,7 @@ public:
|
|||
this->PackageName = "";
|
||||
}
|
||||
|
||||
virtual ~XMLParser() {}
|
||||
~XMLParser() CM_OVERRIDE {}
|
||||
|
||||
protected:
|
||||
void EndElement(const std::string&) CM_OVERRIDE {}
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
// Handle user input. Called by the container of this widget
|
||||
// when this widget has focus. Returns true if the input was
|
||||
// handled.
|
||||
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
|
||||
bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
|
||||
// Description:
|
||||
// Set/Get the value (on/off).
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
// Handle user input. Called by the container of this widget
|
||||
// when this widget has focus. Returns true if the input was
|
||||
// handled.
|
||||
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
|
||||
bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
cmCursesDummyWidget(const cmCursesDummyWidget& from);
|
||||
|
|
|
@ -21,13 +21,13 @@ class cmCursesLabelWidget : public cmCursesWidget
|
|||
public:
|
||||
cmCursesLabelWidget(int width, int height, int left, int top,
|
||||
const std::string& name);
|
||||
virtual ~cmCursesLabelWidget();
|
||||
~cmCursesLabelWidget() CM_OVERRIDE;
|
||||
|
||||
// Description:
|
||||
// Handle user input. Called by the container of this widget
|
||||
// when this widget has focus. Returns true if the input was
|
||||
// handled
|
||||
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
|
||||
bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
cmCursesLabelWidget(const cmCursesLabelWidget& from);
|
||||
|
|
|
@ -23,16 +23,16 @@ class cmCursesLongMessageForm : public cmCursesForm
|
|||
public:
|
||||
cmCursesLongMessageForm(std::vector<std::string> const& messages,
|
||||
const char* title);
|
||||
virtual ~cmCursesLongMessageForm();
|
||||
~cmCursesLongMessageForm() CM_OVERRIDE;
|
||||
|
||||
// Description:
|
||||
// Handle user input.
|
||||
virtual void HandleInput();
|
||||
void HandleInput() CM_OVERRIDE;
|
||||
|
||||
// Description:
|
||||
// Display form. Use a window of size width x height, starting
|
||||
// at top, left.
|
||||
virtual void Render(int left, int top, int width, int height);
|
||||
void Render(int left, int top, int width, int height) CM_OVERRIDE;
|
||||
|
||||
// Description:
|
||||
// This method should normally called only by the form.
|
||||
|
@ -42,7 +42,7 @@ public:
|
|||
// Description:
|
||||
// This method should normally called only by the form.
|
||||
// The only exception is during a resize.
|
||||
virtual void UpdateStatusBar();
|
||||
void UpdateStatusBar() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
cmCursesLongMessageForm(const cmCursesLongMessageForm& from);
|
||||
|
|
|
@ -30,7 +30,7 @@ class cmCursesMainForm : public cmCursesForm
|
|||
{
|
||||
public:
|
||||
cmCursesMainForm(std::vector<std::string> const& args, int initwidth);
|
||||
virtual ~cmCursesMainForm();
|
||||
~cmCursesMainForm() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Set the widgets which represent the cache entries.
|
||||
|
@ -40,13 +40,13 @@ public:
|
|||
/**
|
||||
* Handle user input.
|
||||
*/
|
||||
virtual void HandleInput();
|
||||
void HandleInput() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Display form. Use a window of size width x height, starting
|
||||
* at top, left.
|
||||
*/
|
||||
virtual void Render(int left, int top, int width, int height);
|
||||
void Render(int left, int top, int width, int height) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Returns true if an entry with the given key is in the
|
||||
|
@ -67,7 +67,7 @@ public:
|
|||
* exception is during a resize. The optional argument specifies the
|
||||
* string to be displayed in the status bar.
|
||||
*/
|
||||
virtual void UpdateStatusBar() { this->UpdateStatusBar(0); }
|
||||
void UpdateStatusBar() CM_OVERRIDE { this->UpdateStatusBar(0); }
|
||||
virtual void UpdateStatusBar(const char* message);
|
||||
|
||||
/**
|
||||
|
@ -83,7 +83,7 @@ public:
|
|||
* During a CMake run, an error handle should add errors
|
||||
* to be displayed afterwards.
|
||||
*/
|
||||
virtual void AddError(const char* message, const char* title);
|
||||
void AddError(const char* message, const char* title) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Used to do a configure. If argument is specified, it does only the check
|
||||
|
|
|
@ -25,7 +25,7 @@ public:
|
|||
// Handle user input. Called by the container of this widget
|
||||
// when this widget has focus. Returns true if the input was
|
||||
// handled.
|
||||
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
|
||||
bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
void SetOption(const std::string&);
|
||||
void AddOption(std::string const&);
|
||||
void NextOption();
|
||||
|
|
|
@ -23,9 +23,9 @@ public:
|
|||
* This method is called when different keys are pressed. The
|
||||
* subclass can have a special implementation handler for this.
|
||||
*/
|
||||
virtual void OnTab(cmCursesMainForm* fm, WINDOW* w);
|
||||
virtual void OnReturn(cmCursesMainForm* fm, WINDOW* w);
|
||||
virtual void OnType(int& key, cmCursesMainForm* fm, WINDOW* w);
|
||||
void OnTab(cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
void OnReturn(cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
void OnType(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
cmCursesPathWidget(const cmCursesPathWidget& from);
|
||||
|
|
|
@ -32,14 +32,14 @@ public:
|
|||
* when this widget has focus. Returns true if the input was
|
||||
* handled.
|
||||
*/
|
||||
virtual bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w);
|
||||
bool HandleInput(int& key, cmCursesMainForm* fm, WINDOW* w) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Set/Get the string.
|
||||
*/
|
||||
void SetString(const std::string& value);
|
||||
const char* GetString();
|
||||
virtual const char* GetValue();
|
||||
const char* GetValue() CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* Set/Get InEdit flag. Can be used to tell the widget to leave
|
||||
|
@ -61,7 +61,7 @@ public:
|
|||
* in the toolbar and return true. Otherwise, return false
|
||||
* and the parent widget will print.
|
||||
*/
|
||||
virtual bool PrintKeys();
|
||||
bool PrintKeys() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
cmCursesStringWidget(const cmCursesStringWidget& from);
|
||||
|
|
|
@ -20,19 +20,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddCompileOptionsCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddCompileOptionsCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_compile_options"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_compile_options"; }
|
||||
|
||||
cmTypeMacro(cmAddCompileOptionsCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -26,19 +26,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddCustomCommandCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddCustomCommandCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_custom_command"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_custom_command"; }
|
||||
|
||||
cmTypeMacro(cmAddCustomCommandCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -27,19 +27,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddCustomTargetCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddCustomTargetCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_custom_target"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_custom_target"; }
|
||||
|
||||
cmTypeMacro(cmAddCustomTargetCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -26,19 +26,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddDefinitionsCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddDefinitionsCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_definitions"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_definitions"; }
|
||||
|
||||
cmTypeMacro(cmAddDefinitionsCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,19 +25,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddDependenciesCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddDependenciesCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_dependencies"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_dependencies"; }
|
||||
|
||||
cmTypeMacro(cmAddDependenciesCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -26,19 +26,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddExecutableCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddExecutableCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_executable"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_executable"; }
|
||||
|
||||
cmTypeMacro(cmAddExecutableCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -26,19 +26,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddLibraryCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddLibraryCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_library"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_library"; }
|
||||
|
||||
cmTypeMacro(cmAddLibraryCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -27,19 +27,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddSubDirectoryCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddSubDirectoryCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_subdirectory"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_subdirectory"; }
|
||||
|
||||
cmTypeMacro(cmAddSubDirectoryCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,19 +25,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAddTestCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAddTestCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "add_test"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "add_test"; }
|
||||
|
||||
cmTypeMacro(cmAddTestCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -29,19 +29,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmAuxSourceDirectoryCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmAuxSourceDirectoryCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "aux_source_directory"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "aux_source_directory"; }
|
||||
|
||||
cmTypeMacro(cmAuxSourceDirectoryCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,24 +25,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmBreakCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmBreakCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "break"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "break"; }
|
||||
|
||||
cmTypeMacro(cmBreakCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,14 +25,14 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmBuildCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmBuildCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The primary command signature with optional, KEYWORD-based args.
|
||||
|
@ -47,7 +47,7 @@ public:
|
|||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "build_command"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "build_command"; }
|
||||
|
||||
cmTypeMacro(cmBuildCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -18,11 +18,11 @@ class cmBuildNameCommand : public cmCommand
|
|||
{
|
||||
public:
|
||||
cmTypeMacro(cmBuildNameCommand, cmCommand);
|
||||
virtual cmCommand* Clone() { return new cmBuildNameCommand; }
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
virtual std::string GetName() const { return "build_name"; }
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmBuildNameCommand; }
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
std::string GetName() const CM_OVERRIDE { return "build_name"; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
|
@ -28,7 +28,7 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone()
|
||||
cmCommand* Clone() CM_OVERRIDE
|
||||
{
|
||||
return new cmCMakeHostSystemInformationCommand;
|
||||
}
|
||||
|
@ -37,18 +37,18 @@ public:
|
|||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const
|
||||
std::string GetName() const CM_OVERRIDE
|
||||
{
|
||||
return "cmake_host_system_information";
|
||||
}
|
||||
|
|
|
@ -25,24 +25,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmCMakeMinimumRequired; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmCMakeMinimumRequired; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "cmake_minimum_required"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "cmake_minimum_required"; }
|
||||
|
||||
cmTypeMacro(cmCMakeMinimumRequired, cmCommand);
|
||||
|
||||
|
|
|
@ -26,24 +26,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmCMakePolicyCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmCMakePolicyCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "cmake_policy"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "cmake_policy"; }
|
||||
|
||||
cmTypeMacro(cmCMakePolicyCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -29,9 +29,8 @@ public:
|
|||
std::vector<std::string> const& configurations);
|
||||
|
||||
protected:
|
||||
virtual void GenerateScriptForConfig(std::ostream& os,
|
||||
const std::string& config,
|
||||
Indent const& indent);
|
||||
void GenerateScriptForConfig(std::ostream& os, const std::string& config,
|
||||
Indent const& indent) CM_OVERRIDE;
|
||||
|
||||
cmLocalGenerator* LG;
|
||||
cmInstalledFile const& InstalledFile;
|
||||
|
|
|
@ -45,7 +45,7 @@ public:
|
|||
/**
|
||||
* Need virtual destructor to destroy real command type.
|
||||
*/
|
||||
virtual ~cmCommand() {}
|
||||
~cmCommand() CM_OVERRIDE {}
|
||||
|
||||
/**
|
||||
* Specify the makefile.
|
||||
|
|
|
@ -108,8 +108,8 @@ private:
|
|||
unsigned int DataStart;
|
||||
const char* Ignore;
|
||||
cmCAStringVector();
|
||||
virtual bool DoConsume(const std::string& arg, unsigned int index);
|
||||
virtual void DoReset();
|
||||
bool DoConsume(const std::string& arg, unsigned int index) CM_OVERRIDE;
|
||||
void DoReset() CM_OVERRIDE;
|
||||
};
|
||||
|
||||
/** cmCAString is to be used for arguments which consist of one value,
|
||||
|
@ -126,8 +126,8 @@ public:
|
|||
private:
|
||||
std::string String;
|
||||
unsigned int DataStart;
|
||||
virtual bool DoConsume(const std::string& arg, unsigned int index);
|
||||
virtual void DoReset();
|
||||
bool DoConsume(const std::string& arg, unsigned int index) CM_OVERRIDE;
|
||||
void DoReset() CM_OVERRIDE;
|
||||
cmCAString();
|
||||
};
|
||||
|
||||
|
@ -143,8 +143,8 @@ public:
|
|||
bool IsEnabled() const { return this->Enabled; }
|
||||
private:
|
||||
bool Enabled;
|
||||
virtual bool DoConsume(const std::string& arg, unsigned int index);
|
||||
virtual void DoReset();
|
||||
bool DoConsume(const std::string& arg, unsigned int index) CM_OVERRIDE;
|
||||
void DoReset() CM_OVERRIDE;
|
||||
cmCAEnabler();
|
||||
};
|
||||
|
||||
|
@ -160,8 +160,8 @@ public:
|
|||
bool IsEnabled() const { return this->Enabled; }
|
||||
private:
|
||||
bool Enabled;
|
||||
virtual bool DoConsume(const std::string& arg, unsigned int index);
|
||||
virtual void DoReset();
|
||||
bool DoConsume(const std::string& arg, unsigned int index) CM_OVERRIDE;
|
||||
void DoReset() CM_OVERRIDE;
|
||||
cmCADisabler();
|
||||
};
|
||||
|
||||
|
|
|
@ -19,24 +19,24 @@ class cmConfigureFileCommand : public cmCommand
|
|||
public:
|
||||
cmTypeMacro(cmConfigureFileCommand, cmCommand);
|
||||
|
||||
virtual cmCommand* Clone() { return new cmConfigureFileCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmConfigureFileCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the input file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "configure_file"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "configure_file"; }
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
private:
|
||||
int ConfigureFile();
|
||||
|
|
|
@ -25,24 +25,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmContinueCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmContinueCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "continue"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "continue"; }
|
||||
|
||||
cmTypeMacro(cmContinueCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,19 +25,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmCreateTestSourceList; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmCreateTestSourceList; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "create_test_sourcelist"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "create_test_sourcelist"; }
|
||||
|
||||
cmTypeMacro(cmCreateTestSourceList, cmCommand);
|
||||
};
|
||||
|
|
|
@ -36,12 +36,12 @@ class cmCryptoHashMD5 : public cmCryptoHash
|
|||
|
||||
public:
|
||||
cmCryptoHashMD5();
|
||||
~cmCryptoHashMD5();
|
||||
~cmCryptoHashMD5() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
virtual void Initialize();
|
||||
virtual void Append(unsigned char const* buf, int sz);
|
||||
virtual std::string Finalize();
|
||||
void Initialize() CM_OVERRIDE;
|
||||
void Append(unsigned char const* buf, int sz) CM_OVERRIDE;
|
||||
std::string Finalize() CM_OVERRIDE;
|
||||
};
|
||||
|
||||
#define cmCryptoHash_SHA_CLASS_DECL(SHA) \
|
||||
|
|
|
@ -17,19 +17,19 @@
|
|||
class cmDefinePropertyCommand : public cmCommand
|
||||
{
|
||||
public:
|
||||
virtual cmCommand* Clone() { return new cmDefinePropertyCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmDefinePropertyCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the input file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "define_property"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "define_property"; }
|
||||
|
||||
cmTypeMacro(cmDefinePropertyCommand, cmCommand);
|
||||
|
||||
|
|
|
@ -31,14 +31,13 @@ public:
|
|||
const std::map<std::string, DependencyVector>* validDeps);
|
||||
|
||||
/** Virtual destructor to cleanup subclasses properly. */
|
||||
virtual ~cmDependsC();
|
||||
~cmDependsC() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
// Implement writing/checking methods required by superclass.
|
||||
virtual bool WriteDependencies(const std::set<std::string>& sources,
|
||||
const std::string& obj,
|
||||
std::ostream& makeDepends,
|
||||
std::ostream& internalDepends);
|
||||
bool WriteDependencies(const std::set<std::string>& sources,
|
||||
const std::string& obj, std::ostream& makeDepends,
|
||||
std::ostream& internalDepends) CM_OVERRIDE;
|
||||
|
||||
// Method to scan a single file.
|
||||
void Scan(std::istream& is, const char* directory,
|
||||
|
|
|
@ -34,7 +34,7 @@ public:
|
|||
cmDependsFortran(cmLocalGenerator* lg);
|
||||
|
||||
/** Virtual destructor to cleanup subclasses properly. */
|
||||
virtual ~cmDependsFortran();
|
||||
~cmDependsFortran() CM_OVERRIDE;
|
||||
|
||||
/** Callback from build system after a .mod file has been generated
|
||||
by a Fortran90 compiler to copy the .mod file to the
|
||||
|
@ -48,8 +48,8 @@ public:
|
|||
|
||||
protected:
|
||||
// Finalize the dependency information for the target.
|
||||
virtual bool Finalize(std::ostream& makeDepends,
|
||||
std::ostream& internalDepends);
|
||||
bool Finalize(std::ostream& makeDepends,
|
||||
std::ostream& internalDepends) CM_OVERRIDE;
|
||||
|
||||
// Find all the modules required by the target.
|
||||
void LocateModules();
|
||||
|
@ -59,10 +59,9 @@ protected:
|
|||
bool FindModule(std::string const& name, std::string& module);
|
||||
|
||||
// Implement writing/checking methods required by superclass.
|
||||
virtual bool WriteDependencies(const std::set<std::string>& sources,
|
||||
const std::string& file,
|
||||
std::ostream& makeDepends,
|
||||
std::ostream& internalDepends);
|
||||
bool WriteDependencies(const std::set<std::string>& sources,
|
||||
const std::string& file, std::ostream& makeDepends,
|
||||
std::ostream& internalDepends) CM_OVERRIDE;
|
||||
|
||||
// Actually write the depenencies to the streams.
|
||||
bool WriteDependenciesReal(const char* obj, cmFortranSourceInfo const& info,
|
||||
|
|
|
@ -25,17 +25,16 @@ public:
|
|||
cmDependsJava();
|
||||
|
||||
/** Virtual destructor to cleanup subclasses properly. */
|
||||
virtual ~cmDependsJava();
|
||||
~cmDependsJava() CM_OVERRIDE;
|
||||
|
||||
protected:
|
||||
// Implement writing/checking methods required by superclass.
|
||||
virtual bool WriteDependencies(const std::set<std::string>& sources,
|
||||
const std::string& file,
|
||||
std::ostream& makeDepends,
|
||||
std::ostream& internalDepends);
|
||||
virtual bool CheckDependencies(
|
||||
bool WriteDependencies(const std::set<std::string>& sources,
|
||||
const std::string& file, std::ostream& makeDepends,
|
||||
std::ostream& internalDepends) CM_OVERRIDE;
|
||||
bool CheckDependencies(
|
||||
std::istream& internalDepends, const char* internalDependsFileName,
|
||||
std::map<std::string, DependencyVector>& validDeps);
|
||||
std::map<std::string, DependencyVector>& validDeps) CM_OVERRIDE;
|
||||
|
||||
private:
|
||||
cmDependsJava(cmDependsJava const&); // Purposely not implemented.
|
||||
|
|
|
@ -25,24 +25,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmElseCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmElseCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "else"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "else"; }
|
||||
|
||||
cmTypeMacro(cmElseCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,24 +25,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmElseIfCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmElseIfCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "elseif"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "elseif"; }
|
||||
|
||||
cmTypeMacro(cmElseIfCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -28,19 +28,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmEnableLanguageCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmEnableLanguageCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "enable_language"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "enable_language"; }
|
||||
|
||||
cmTypeMacro(cmEnableLanguageCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -33,19 +33,19 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmEnableTestingCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmEnableTestingCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const&,
|
||||
cmExecutionStatus&);
|
||||
bool InitialPass(std::vector<std::string> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "enable_testing"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "enable_testing"; }
|
||||
|
||||
cmTypeMacro(cmEnableTestingCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,20 +25,21 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmEndForEachCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmEndForEachCommand; }
|
||||
|
||||
/**
|
||||
* Override cmCommand::InvokeInitialPass to get arguments before
|
||||
* expansion.
|
||||
*/
|
||||
virtual bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
|
||||
cmExecutionStatus&);
|
||||
bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const&, cmExecutionStatus&)
|
||||
bool InitialPass(std::vector<std::string> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -46,12 +47,12 @@ public:
|
|||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "endforeach"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "endforeach"; }
|
||||
|
||||
cmTypeMacro(cmEndForEachCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,20 +25,21 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmEndFunctionCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmEndFunctionCommand; }
|
||||
|
||||
/**
|
||||
* Override cmCommand::InvokeInitialPass to get arguments before
|
||||
* expansion.
|
||||
*/
|
||||
virtual bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
|
||||
cmExecutionStatus&);
|
||||
bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const&, cmExecutionStatus&)
|
||||
bool InitialPass(std::vector<std::string> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -46,12 +47,12 @@ public:
|
|||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "endfunction"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "endfunction"; }
|
||||
|
||||
cmTypeMacro(cmEndFunctionCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,24 +25,24 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmEndIfCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmEndIfCommand; }
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status);
|
||||
bool InitialPass(std::vector<std::string> const& args,
|
||||
cmExecutionStatus& status) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "endif"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "endif"; }
|
||||
|
||||
cmTypeMacro(cmEndIfCommand, cmCommand);
|
||||
};
|
||||
|
|
|
@ -25,20 +25,21 @@ public:
|
|||
/**
|
||||
* This is a virtual constructor for the command.
|
||||
*/
|
||||
virtual cmCommand* Clone() { return new cmEndMacroCommand; }
|
||||
cmCommand* Clone() CM_OVERRIDE { return new cmEndMacroCommand; }
|
||||
|
||||
/**
|
||||
* Override cmCommand::InvokeInitialPass to get arguments before
|
||||
* expansion.
|
||||
*/
|
||||
virtual bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
|
||||
cmExecutionStatus&);
|
||||
bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE;
|
||||
|
||||
/**
|
||||
* This is called when the command is first encountered in
|
||||
* the CMakeLists.txt file.
|
||||
*/
|
||||
virtual bool InitialPass(std::vector<std::string> const&, cmExecutionStatus&)
|
||||
bool InitialPass(std::vector<std::string> const&,
|
||||
cmExecutionStatus&) CM_OVERRIDE
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
@ -46,12 +47,12 @@ public:
|
|||
/**
|
||||
* This determines if the command is invoked when in script mode.
|
||||
*/
|
||||
virtual bool IsScriptable() const { return true; }
|
||||
bool IsScriptable() const CM_OVERRIDE { return true; }
|
||||
|
||||
/**
|
||||
* The name of the command as specified in CMakeList.txt.
|
||||
*/
|
||||
virtual std::string GetName() const { return "endmacro"; }
|
||||
std::string GetName() const CM_OVERRIDE { return "endmacro"; }
|
||||
|
||||
cmTypeMacro(cmEndMacroCommand, cmCommand);
|
||||
};
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue