diff options
author | Gabor Bencze <b.gabor98@gmail.com> | 2019-07-25 14:52:50 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2019-08-20 18:42:19 (GMT) |
commit | 0005e17d504fd50ebaec3860f4f213765e815b13 (patch) | |
tree | 8e29587d7fddab24967f203d8fb00d78c4b4ccfb /Source/cmContinueCommand.h | |
parent | 01949a02df765cc4ad273b6163622f55d4f569ca (diff) | |
download | CMake-0005e17d504fd50ebaec3860f4f213765e815b13.zip CMake-0005e17d504fd50ebaec3860f4f213765e815b13.tar.gz CMake-0005e17d504fd50ebaec3860f4f213765e815b13.tar.bz2 |
cmCommand refactor: cmContinueCommand
Diffstat (limited to 'Source/cmContinueCommand.h')
-rw-r--r-- | Source/cmContinueCommand.h | 26 |
1 files changed, 3 insertions, 23 deletions
diff --git a/Source/cmContinueCommand.h b/Source/cmContinueCommand.h index a85010a..ff903aa 100644 --- a/Source/cmContinueCommand.h +++ b/Source/cmContinueCommand.h @@ -8,34 +8,14 @@ #include <string> #include <vector> -#include "cm_memory.hxx" - -#include "cmCommand.h" - class cmExecutionStatus; -/** \class cmContinueCommand +/** * \brief Continue from an enclosing foreach or while loop * * cmContinueCommand returns from an enclosing foreach or while loop */ -class cmContinueCommand : public cmCommand -{ -public: - /** - * This is a virtual constructor for the command. - */ - std::unique_ptr<cmCommand> Clone() override - { - return cm::make_unique<cmContinueCommand>(); - } - - /** - * This is called when the command is first encountered in - * the CMakeLists.txt file. - */ - bool InitialPass(std::vector<std::string> const& args, - cmExecutionStatus& status) override; -}; +bool cmContinueCommand(std::vector<std::string> const& args, + cmExecutionStatus& status); #endif |