mirror of
https://github.com/Kitware/CMake.git
synced 2026-02-22 06:59:01 -06:00
Revert "ClearMatches: Only clear matches which were actually set" (#15261)
This reverts commit v3.1.0-rc1~557^2~2 (ClearMatches: Only clear matches which were actually set, 2014-03-12). The optimization did not track the match count in the same scope as the variables, allowing possible inconsistency. Resolve conflicts in Source/cmIfCommand.cxx, Source/cmMakefile.cxx, and Source/cmMakefile.h by moving the changes to the new location of the code involved.
This commit is contained in:
@@ -53,6 +53,8 @@ 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);
|
||||
|
||||
Reference in New Issue
Block a user