mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-18 17:31:57 +08:00
cmListFileBacktrace: Add a method to retrieve the Bottom of a snapshot
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user