Commit e32a6bdd authored by Stephen Kelly's avatar Stephen Kelly
Browse files

cmListFileBacktrace: Add a method to retrieve the Bottom of a snapshot

parent 7863fba1
......@@ -120,6 +120,8 @@ public:
cmListFileBacktrace& operator=(cmListFileBacktrace const& r);
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;
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment