summaryrefslogtreecommitdiff
path: root/Source/cmWhileCommand.h
diff options
context:
space:
mode:
authorRegina Pfeifer <regina@mailbox.org>2019-07-23 23:00:28 +0200
committerRegina Pfeifer <regina@mailbox.org>2019-07-30 17:21:50 +0200
commitc76500949d3fcf5ff83ac6e7f1d565f5d786c5f0 (patch)
tree4a42eb66c6ea5c4b5b51919e015d198da427a3a4 /Source/cmWhileCommand.h
parent89dc04af1d55a343a44e7c2de4bb92a101dd6138 (diff)
downloadcmake-c76500949d3fcf5ff83ac6e7f1d565f5d786c5f0.tar.gz
cm*FunctionBlocker: Move to source file
Diffstat (limited to 'Source/cmWhileCommand.h')
-rw-r--r--Source/cmWhileCommand.h22
1 files changed, 1 insertions, 21 deletions
diff --git a/Source/cmWhileCommand.h b/Source/cmWhileCommand.h
index 2257799407..beca652c6a 100644
--- a/Source/cmWhileCommand.h
+++ b/Source/cmWhileCommand.h
@@ -7,28 +7,8 @@
#include <vector>
-#include "cmFunctionBlocker.h"
-#include "cmListFileCache.h"
-
class cmExecutionStatus;
-class cmMakefile;
-
-class cmWhileFunctionBlocker : public cmFunctionBlocker
-{
-public:
- cmWhileFunctionBlocker(cmMakefile* mf);
- ~cmWhileFunctionBlocker() override;
- bool IsFunctionBlocked(const cmListFileFunction& lff, cmMakefile& mf,
- cmExecutionStatus&) override;
- bool ShouldRemove(const cmListFileFunction& lff, cmMakefile& mf) override;
-
- std::vector<cmListFileArgument> Args;
- std::vector<cmListFileFunction> Functions;
-
-private:
- cmMakefile* Makefile;
- int Depth;
-};
+struct cmListFileArgument;
/// \brief Starts a while loop
bool cmWhileCommand(std::vector<cmListFileArgument> const& args,