diff options
author | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 20:58:40 (GMT) |
---|---|---|
committer | Regina Pfeifer <regina@mailbox.org> | 2019-07-30 22:03:17 (GMT) |
commit | 6491270e0d3699f5151c08ef41dce84724f9ffc1 (patch) | |
tree | f4caa3b0bc5262e73352394a4bb0ed534a765133 /Source/cmFunctionBlocker.h | |
parent | af24e4ef6e216184b8c207728d6b0312ce3c1525 (diff) | |
download | CMake-6491270e0d3699f5151c08ef41dce84724f9ffc1.zip CMake-6491270e0d3699f5151c08ef41dce84724f9ffc1.tar.gz CMake-6491270e0d3699f5151c08ef41dce84724f9ffc1.tar.bz2 |
cmFunctionBlocker: Move check for matching args
Diffstat (limited to 'Source/cmFunctionBlocker.h')
-rw-r--r-- | Source/cmFunctionBlocker.h | 12 |
1 files changed, 3 insertions, 9 deletions
diff --git a/Source/cmFunctionBlocker.h b/Source/cmFunctionBlocker.h index 8fc2c1c..8b05993 100644 --- a/Source/cmFunctionBlocker.h +++ b/Source/cmFunctionBlocker.h @@ -23,15 +23,6 @@ public: bool IsFunctionBlocked(cmListFileFunction const& lff, cmExecutionStatus& status); - /** - * should this function blocker be removed, useful when one function adds a - * blocker and another must remove it - */ - virtual bool ShouldRemove(const cmListFileFunction&, cmMakefile&) - { - return false; - } - virtual ~cmFunctionBlocker() = default; /** Set/Get the context in which this blocker is created. */ @@ -48,6 +39,9 @@ private: virtual cm::string_view StartCommandName() const = 0; virtual cm::string_view EndCommandName() const = 0; + virtual bool ArgumentsMatch(cmListFileFunction const& lff, + cmMakefile& mf) const = 0; + virtual bool Replay(std::vector<cmListFileFunction> const& functions, cmExecutionStatus& status) = 0; |