summaryrefslogtreecommitdiffstats
path: root/Source/cmListFileCache.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2021-12-07 21:26:58 (GMT)
committerBrad King <brad.king@kitware.com>2021-12-08 15:03:48 (GMT)
commit7b677dbb9279a575ec6b5f79daa78acfec241b6a (patch)
treeab5fd2b922892ea90e153e6f3d082b0447ce4588 /Source/cmListFileCache.h
parent56dc22d48829860b50a441dcc26de14150ad724c (diff)
downloadCMake-7b677dbb9279a575ec6b5f79daa78acfec241b6a.zip
CMake-7b677dbb9279a575ec6b5f79daa78acfec241b6a.tar.gz
CMake-7b677dbb9279a575ec6b5f79daa78acfec241b6a.tar.bz2
cmListFileBacktrace: Remove unused "bottom" entry
All uses of `GetBottom` by clients have been removed, so drop the method and its supporting infrastructure.
Diffstat (limited to 'Source/cmListFileCache.h')
-rw-r--r--Source/cmListFileCache.h13
1 files changed, 1 insertions, 12 deletions
diff --git a/Source/cmListFileCache.h b/Source/cmListFileCache.h
index 0e2e299..aaf672c 100644
--- a/Source/cmListFileCache.h
+++ b/Source/cmListFileCache.h
@@ -13,7 +13,6 @@
#include <cm/optional>
-#include "cmStateSnapshot.h"
#include "cmSystemTools.h"
/** \class cmListFileCache
@@ -164,23 +163,13 @@ private:
class cmListFileBacktrace
{
public:
- // Default-constructed backtrace may not be used until after
- // set via assignment from a backtrace constructed with a
- // valid snapshot.
+ // Default-constructed backtrace is empty.
cmListFileBacktrace() = default;
- // Construct an empty backtrace whose bottom sits in the directory
- // indicated by the given valid snapshot.
- cmListFileBacktrace(cmStateSnapshot const& snapshot);
-
- cmStateSnapshot GetBottom() const;
-
// 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;
// Get a backtrace with the given call context added to the top.
- // May not be called until after construction with a valid snapshot.
cmListFileBacktrace Push(cmListFileContext const& lfc) const;
// Get a backtrace with the top level removed.