summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-05-23 06:00:46 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-02 23:14:34 (GMT)
commit942df88bf83e99abbfbd69207369096fa7cf67a2 (patch)
tree5695e2ae0148b32ed1af2e429b23a09f2471c370 /Source
parentda28f11523644cdc2138a0cde2c4c015948ff46c (diff)
downloadCMake-942df88bf83e99abbfbd69207369096fa7cf67a2.zip
CMake-942df88bf83e99abbfbd69207369096fa7cf67a2.tar.gz
CMake-942df88bf83e99abbfbd69207369096fa7cf67a2.tar.bz2
cmState: Rename CreateSnapshot method.
Leave the namespace open for other snapshot types.
Diffstat (limited to 'Source')
-rw-r--r--Source/cmMakefile.cxx2
-rw-r--r--Source/cmState.cxx3
-rw-r--r--Source/cmState.h2
3 files changed, 4 insertions, 3 deletions
diff --git a/Source/cmMakefile.cxx b/Source/cmMakefile.cxx
index 7c74a0f..60498ef 100644
--- a/Source/cmMakefile.cxx
+++ b/Source/cmMakefile.cxx
@@ -1619,7 +1619,7 @@ void cmMakefile::AddSubDirectory(const std::string& srcPath,
}
cmState::Snapshot newSnapshot = this->GetState()
- ->CreateSnapshot(this->StateSnapshot);
+ ->CreateBuildsystemDirectorySnapshot(this->StateSnapshot);
// create a new local generator and set its parent
cmLocalGenerator *lg2 = this->GetGlobalGenerator()
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index eade817..87892b4 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -672,7 +672,8 @@ cmState::Snapshot cmState::CreateBaseSnapshot()
return cmState::Snapshot(this, pos);
}
-cmState::Snapshot cmState::CreateSnapshot(Snapshot originSnapshot)
+cmState::Snapshot
+cmState::CreateBuildsystemDirectorySnapshot(Snapshot originSnapshot)
{
assert(originSnapshot.IsValid());
PositionType pos = this->ParentPositions.size();
diff --git a/Source/cmState.h b/Source/cmState.h
index 157bd90..24e0f7b 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -58,7 +58,7 @@ public:
};
Snapshot CreateBaseSnapshot();
- Snapshot CreateSnapshot(Snapshot originSnapshot);
+ Snapshot CreateBuildsystemDirectorySnapshot(Snapshot originSnapshot);
enum CacheEntryType{ BOOL=0, PATH, FILEPATH, STRING, INTERNAL,STATIC,
UNINITIALIZED };