mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-30 11:10:06 -05:00
cmMakefile: Remove now-unused overload of GetBacktrace
This commit is contained in:
@@ -274,15 +274,6 @@ cmListFileBacktrace cmMakefile::GetBacktrace() const
|
|||||||
return this->Backtrace;
|
return this->Backtrace;
|
||||||
}
|
}
|
||||||
|
|
||||||
cmListFileBacktrace cmMakefile::GetBacktrace(cmCommandContext const& cc) const
|
|
||||||
{
|
|
||||||
cmListFileContext lfc;
|
|
||||||
lfc.Name = cc.Name.Original;
|
|
||||||
lfc.Line = cc.Line;
|
|
||||||
lfc.FilePath = this->StateSnapshot.GetExecutionListFile();
|
|
||||||
return this->Backtrace.Push(lfc);
|
|
||||||
}
|
|
||||||
|
|
||||||
void cmMakefile::PrintCommandTrace(const cmListFileFunction& lff) const
|
void cmMakefile::PrintCommandTrace(const cmListFileFunction& lff) const
|
||||||
{
|
{
|
||||||
// Check if current file in the list of requested to trace...
|
// Check if current file in the list of requested to trace...
|
||||||
|
|||||||
@@ -640,7 +640,6 @@ public:
|
|||||||
* Get the current context backtrace.
|
* Get the current context backtrace.
|
||||||
*/
|
*/
|
||||||
cmListFileBacktrace GetBacktrace() const;
|
cmListFileBacktrace GetBacktrace() const;
|
||||||
cmListFileBacktrace GetBacktrace(cmCommandContext const& lfc) const;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get the vector of files created by this makefile
|
* Get the vector of files created by this makefile
|
||||||
|
|||||||
Reference in New Issue
Block a user