summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobVerificationManager.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-23 18:17:31 (GMT)
committerBrad King <brad.king@kitware.com>2018-08-23 18:17:31 (GMT)
commit8a3cba525764e4ea7501a368f5b3396acecc27a3 (patch)
tree6b952111ba06842f3ef4bd83c55ceb06a232b6f1 /Source/cmGlobVerificationManager.cxx
parent7e919ace319514282209663767525fb3855e5fa4 (diff)
parent6f3b9e8b9506b4631b70cf506152defa8f9e54e0 (diff)
downloadCMake-8a3cba525764e4ea7501a368f5b3396acecc27a3.zip
CMake-8a3cba525764e4ea7501a368f5b3396acecc27a3.tar.gz
CMake-8a3cba525764e4ea7501a368f5b3396acecc27a3.tar.bz2
Merge branch 'state-reset-glob' into release-3.12
Merge-request: !2278
Diffstat (limited to 'Source/cmGlobVerificationManager.cxx')
-rw-r--r--Source/cmGlobVerificationManager.cxx7
1 files changed, 7 insertions, 0 deletions
diff --git a/Source/cmGlobVerificationManager.cxx b/Source/cmGlobVerificationManager.cxx
index e23b6ea..189b517 100644
--- a/Source/cmGlobVerificationManager.cxx
+++ b/Source/cmGlobVerificationManager.cxx
@@ -170,3 +170,10 @@ void cmGlobVerificationManager::AddCacheEntry(
value.Backtraces.emplace_back(variable, backtrace);
}
}
+
+void cmGlobVerificationManager::Reset()
+{
+ this->Cache.clear();
+ this->VerifyScript.clear();
+ this->VerifyStamp.clear();
+}