summaryrefslogtreecommitdiffstats
path: root/Source/cmState.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-04-12 20:08:24 (GMT)
committerBrad King <brad.king@kitware.com>2016-04-12 20:08:24 (GMT)
commitc54ed7813fa4efe2c6c95b6ba75c02b78b601a26 (patch)
treea2c5a6f01143055ed11d497354afcbc75041438d /Source/cmState.cxx
parenta2ce4e81d554fd176070893ad420a53516d016c7 (diff)
downloadCMake-c54ed7813fa4efe2c6c95b6ba75c02b78b601a26.zip
CMake-c54ed7813fa4efe2c6c95b6ba75c02b78b601a26.tar.gz
CMake-c54ed7813fa4efe2c6c95b6ba75c02b78b601a26.tar.bz2
cmState: Rename CallStack snapshots to IncludeFile
Diffstat (limited to 'Source/cmState.cxx')
-rw-r--r--Source/cmState.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/Source/cmState.cxx b/Source/cmState.cxx
index b8e604b..be8e418 100644
--- a/Source/cmState.cxx
+++ b/Source/cmState.cxx
@@ -931,16 +931,16 @@ cmState::CreateMacroCallSnapshot(cmState::Snapshot originSnapshot,
}
cmState::Snapshot
-cmState::CreateCallStackSnapshot(cmState::Snapshot originSnapshot,
- const std::string& entryPointCommand,
- long entryPointLine,
- const std::string& fileName)
+cmState::CreateIncludeFileSnapshot(cmState::Snapshot originSnapshot,
+ const std::string& entryPointCommand,
+ long entryPointLine,
+ const std::string& fileName)
{
PositionType pos = this->SnapshotData.Push(originSnapshot.Position,
*originSnapshot.Position);
pos->EntryPointLine = entryPointLine;
pos->EntryPointCommand = entryPointCommand;
- pos->SnapshotType = CallStackType;
+ pos->SnapshotType = IncludeFileType;
pos->Keep = true;
pos->ExecutionListFile = this->ExecutionListFiles.Push(
originSnapshot.Position->ExecutionListFile, fileName);