summaryrefslogtreecommitdiffstats
path: root/Source/cmStatePrivate.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2022-11-07 19:33:06 (GMT)
committerBrad King <brad.king@kitware.com>2022-11-07 19:36:46 (GMT)
commit96ddcbee60ee304efd047bc0e20cf89066877ab5 (patch)
treee894c23a55711709f90ca022ef289694f433d678 /Source/cmStatePrivate.h
parentcb53d9309eb932e40fcdf3609eb050358ede2d17 (diff)
downloadCMake-96ddcbee60ee304efd047bc0e20cf89066877ab5.zip
CMake-96ddcbee60ee304efd047bc0e20cf89066877ab5.tar.gz
CMake-96ddcbee60ee304efd047bc0e20cf89066877ab5.tar.bz2
cmState: Clarify name of member tracking the active scope in a directory
The `DirectoryEnd` member added by commit 52dbe654de (cmState: Record the end position of each directory., 2015-08-01, v3.4.0-rc1~251^2~1) actually tracks the current top-most scope in a directory's stack. This is evidenced by the use case in commit 3f4e5e8c3d (cmState: Return end snapshot for GetBuildsystemDirectoryParent., 2015-09-01, v3.4.0-rc1~100^2~1). Rename the member to `CurrentScope` to clarify this role.
Diffstat (limited to 'Source/cmStatePrivate.h')
-rw-r--r--Source/cmStatePrivate.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmStatePrivate.h b/Source/cmStatePrivate.h
index fd46eed..ec14834 100644
--- a/Source/cmStatePrivate.h
+++ b/Source/cmStatePrivate.h
@@ -62,7 +62,7 @@ struct cmStateDetail::PolicyStackEntry : public cmPolicies::PolicyMap
struct cmStateDetail::BuildsystemDirectoryStateType
{
- cmStateDetail::PositionType DirectoryEnd;
+ cmStateDetail::PositionType CurrentScope;
std::string Location;
std::string OutputLocation;