summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobVerificationManager.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2018-08-24 17:24:59 (GMT)
committerKitware Robot <kwrobot@kitware.com>2018-08-24 17:34:06 (GMT)
commit7b148e7a3037a7a7d852244e391a7350d8e75d64 (patch)
tree19fa126cc35e4a86951784ec64c6943f5c97c36a /Source/cmGlobVerificationManager.cxx
parent6a8b65c04237ff2dfe004dc1ce29b725666f2758 (diff)
parent6f3b9e8b9506b4631b70cf506152defa8f9e54e0 (diff)
downloadCMake-7b148e7a3037a7a7d852244e391a7350d8e75d64.zip
CMake-7b148e7a3037a7a7d852244e391a7350d8e75d64.tar.gz
CMake-7b148e7a3037a7a7d852244e391a7350d8e75d64.tar.bz2
Merge topic 'state-reset-glob'
6f3b9e8b95 cmState: Clear GlobVerificationManager state on Reset Acked-by: Kitware Robot <kwrobot@kitware.com> 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 d8c854c..e8959f2 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();
+}