From 563bf9dd8a207e04697a92d8bcd239f52400b355 Mon Sep 17 00:00:00 2001 From: Brad King Date: Fri, 15 Apr 2016 11:05:33 -0400 Subject: cmState: Remove unused entry point fields from snapshot data This information is now kept in cmMakefile::Backtrace. --- Source/cmState.cxx | 12 ------------ Source/cmState.h | 2 -- 2 files changed, 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::iterator Vars; cmLinkedTree::iterator Root; cmLinkedTree::iterator Parent; - std::string EntryPointCommand; - long EntryPointLine; std::vector::size_type IncludeDirectoryPosition; std::vector::size_type CompileDefinitionsPosition; std::vector::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 GetChildren(); - std::string GetEntryPointCommand() const; - long GetEntryPointLine() const; bool IsValid() const; Snapshot GetBuildsystemDirectoryParent() const; -- cgit v0.12