summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2020-09-25 13:16:41 (GMT)
committerBrad King <brad.king@kitware.com>2020-09-28 13:49:08 (GMT)
commit0100a4943eb862409ad0cf9619eca93e170dea4a (patch)
treef558d7e65aba7943f1761ca58cdc2a5ee72b9ae3
parentdc49abcb89d7c5a99f7955f16f9b0ccaadc585be (diff)
downloadCMake-0100a4943eb862409ad0cf9619eca93e170dea4a.zip
CMake-0100a4943eb862409ad0cf9619eca93e170dea4a.tar.gz
CMake-0100a4943eb862409ad0cf9619eca93e170dea4a.tar.bz2
cmMakefile: Remove now-unused overload of GetBacktrace
-rw-r--r--Source/cmMakefile.cxx9
-rw-r--r--Source/cmMakefile.h1
2 files changed, 0 insertions, 10 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 3721056..e529896 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -274,15 +274,6 @@ cmListFileBacktrace cmMakefile::GetBacktrace() const
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
{
// Check if current file in the list of requested to trace...
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 6236129..bd7753a 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -640,7 +640,6 @@ public:
* Get the current context backtrace.
*/
cmListFileBacktrace GetBacktrace() const;
- cmListFileBacktrace GetBacktrace(cmCommandContext const& lfc) const;
/**
* Get the vector of files created by this makefile