summaryrefslogtreecommitdiffstats
path: root/Source/cmStringCommand.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2014-12-01 15:51:49 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2014-12-03 16:06:44 (GMT)
commitceecd7902fe80baabfad0235c54719e19a3df06b (patch)
tree06dd7fdaa510c14d25e176f02d7aa1f6404d14f6 /Source/cmStringCommand.h
parent7878d06189e6ee11646fcad9851d5bc4d19a16e6 (diff)
downloadCMake-ceecd7902fe80baabfad0235c54719e19a3df06b.zip
CMake-ceecd7902fe80baabfad0235c54719e19a3df06b.tar.gz
CMake-ceecd7902fe80baabfad0235c54719e19a3df06b.tar.bz2
cmMakefile: store the number of last matches in a CMake var
With PushScope and PopScope, keeping track of another bit of data for each scope isn't easy. Instead, store it as another CMake variable so it gets implicitly tracked along with everything else. This works in a revert of commit 7d674b5f0b28a610333644d417c2e8cb796cc9e4.
Diffstat (limited to 'Source/cmStringCommand.h')
-rw-r--r--Source/cmStringCommand.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/cmStringCommand.h b/Source/cmStringCommand.h
index a5fe893..9c75095 100644
--- a/Source/cmStringCommand.h
+++ b/Source/cmStringCommand.h
@@ -53,8 +53,6 @@ public:
virtual std::string GetName() const { return "string";}
cmTypeMacro(cmStringCommand, cmCommand);
- static void ClearMatches(cmMakefile* mf);
- static void StoreMatches(cmMakefile* mf, cmsys::RegularExpression& re);
protected:
bool HandleConfigureCommand(std::vector<std::string> const& args);
bool HandleAsciiCommand(std::vector<std::string> const& args);