summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-15 15:05:33 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-18 13:21:19 (GMT)
commit563bf9dd8a207e04697a92d8bcd239f52400b355 (patch)
treea07b680be032448bd7384eb1b59bdf2c852c4af1 /Source
parent7c36d2067b00996fcead56310f4fc4fa58434247 (diff)
downloadCMake-563bf9dd8a207e04697a92d8bcd239f52400b355.zip
CMake-563bf9dd8a207e04697a92d8bcd239f52400b355.tar.gz
CMake-563bf9dd8a207e04697a92d8bcd239f52400b355.tar.bz2
cmState: Remove unused entry point fields from snapshot data
This information is now kept in cmMakefile::Backtrace.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmState.cxx12
-rw-r--r--Source/cmState.h2
2 files changed, 0 insertions, 14 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index f4ca113..bafb09e 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -35,8 +35,6 @@ struct cmState::SnapshotDataType
cmLinkedTree<cmDefinitions>::iterator Vars;
cmLinkedTree<cmDefinitions>::iterator Root;
cmLinkedTree<cmDefinitions>::iterator Parent;
- std::string EntryPointCommand;
- long EntryPointLine;
std::vector<std::string>::size_type IncludeDirectoryPosition;
std::vector<std::string>::size_type CompileDefinitionsPosition;
std::vector<std::string>::size_type CompileOptionsPosition;
@@ -1116,16 +1114,6 @@ std::string cmState::Snapshot::GetExecutionListFile() const
return *this->Position->ExecutionListFile;
}
-std::string cmState::Snapshot::GetEntryPointCommand() const
-{
- return this->Position->EntryPointCommand;
-}
-
-long cmState::Snapshot::GetEntryPointLine() const
-{
- return this->Position->EntryPointLine;
-}
-
bool cmState::Snapshot::IsValid() const
{
return this->State && this->Position.IsValid()
diff --git a/Source/cmState.h b/Source/cmState.h
index 5ceaf24..7ead7e0 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -68,8 +68,6 @@ public:
std::string GetExecutionListFile() const;
std::vector<Snapshot> GetChildren();
- std::string GetEntryPointCommand() const;
- long GetEntryPointLine() const;
bool IsValid() const;
Snapshot GetBuildsystemDirectoryParent() const;