summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2016-10-12 22:18:24 (GMT)
committerStephen Kelly <steveire@gmail.com>2016-10-15 09:14:21 (GMT)
commite32a6bdd990571bafb8537110128d28a593150b7 (patch)
tree1f0a3e9d82ce8d9a91b2ec3c34cc853f113a853e
parent7863fba1f6f37db2f75834d0d6a3fbbc680e731c (diff)
downloadCMake-e32a6bdd990571bafb8537110128d28a593150b7.zip
CMake-e32a6bdd990571bafb8537110128d28a593150b7.tar.gz
CMake-e32a6bdd990571bafb8537110128d28a593150b7.tar.bz2
cmListFileBacktrace: Add a method to retrieve the Bottom of a snapshot
-rw-r--r--Source/cmListFileCache.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 4dacee0..fd779c7 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -120,6 +120,8 @@ public:
cmListFileBacktrace& operator=(cmListFileBacktrace const& r);
~cmListFileBacktrace();
+ cmState::Snapshot GetBottom() const { return this->Bottom; }
+
// Get a backtrace with the given file scope added to the top.
// May not be called until after construction with a valid snapshot.
cmListFileBacktrace Push(std::string const& file) const;