summaryrefslogtreecommitdiffstats
path: root/Source/cmIfCommand.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2019-08-05 14:40:43 (GMT)
committerKitware Robot <kwrobot@kitware.com>2019-08-05 14:42:50 (GMT)
commit2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9 (patch)
tree0e0ac231e503b95b16112189407c160158def992 /Source/cmIfCommand.h
parentc969d4628bff6c5b45c788d3a61fff85c36272f6 (diff)
parent41364824ad84a40c9906b7b5de492e45a74c8945 (diff)
downloadCMake-2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9.zip
CMake-2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9.tar.gz
CMake-2327cc0e0575175e8dec4b7a6fa6cafd5d0f7ca9.tar.bz2
Merge topic 'control-block3'
41364824ad cmFunctionBlocker: Recycle functions 6491270e0d cmFunctionBlocker: Move check for matching args af24e4ef6e cmFunctionBlocker: Move common logic to base ef38ff22f7 cm*FunctionBlocker: Extract function Replay b51fba6298 cmMakefile: Add OnExecuteCommand callback c76500949d cm*FunctionBlocker: Move to source file Acked-by: Kitware Robot <kwrobot@kitware.com> Merge-request: !3632
Diffstat (limited to 'Source/cmIfCommand.h')
-rw-r--r--Source/cmIfCommand.h20
1 files changed, 1 insertions, 19 deletions
diff --git a/Source/cmIfCommand.h b/Source/cmIfCommand.h
index 775e609..820ffa4 100644
--- a/Source/cmIfCommand.h
+++ b/Source/cmIfCommand.h
@@ -7,26 +7,8 @@
#include <vector>
-#include "cmFunctionBlocker.h"
-#include "cmListFileCache.h"
-
class cmExecutionStatus;
-class cmMakefile;
-
-class cmIfFunctionBlocker : public cmFunctionBlocker
-{
-public:
- 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;
- bool IsBlocking;
- bool HasRun = false;
- bool ElseSeen = false;
- unsigned int ScopeDepth = 0;
-};
+struct cmListFileArgument;
/// Starts an if block
bool cmIfCommand(std::vector<cmListFileArgument> const& args,