mirror of
https://github.com/Kitware/CMake.git
synced 2025-10-20 21:40:15 +08:00
cmState: Remove unused entry point fields from snapshot data
This information is now kept in cmMakefile::Backtrace.
This commit is contained in:
@@ -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()
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user