summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-01 17:41:26 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-08-23 15:08:54 (GMT)
commit6954c8936f52dcf7710e4b72b2e090b79bf38d1c (patch)
treec8a5ece825f63ee46d74de3332069c0d024ad99a /Source/cmState.h
parent1fc645bd9cffb3170743de5c983f2407eeaaa086 (diff)
downloadCMake-6954c8936f52dcf7710e4b72b2e090b79bf38d1c.zip
CMake-6954c8936f52dcf7710e4b72b2e090b79bf38d1c.tar.gz
CMake-6954c8936f52dcf7710e4b72b2e090b79bf38d1c.tar.bz2
cmState: Add a VariableScope snapshot type.
Match the scopes currently used in cmMakefile for definitions.
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index bc89cc8..4d87653 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -41,7 +41,8 @@ public:
MacroCallType,
CallStackType,
InlineListFileType,
- PolicyScopeType
+ PolicyScopeType,
+ VariableScopeType
};
class Directory;
@@ -155,6 +156,9 @@ public:
std::string const& entryPointCommand,
long entryPointLine,
std::string const& fileName);
+ Snapshot CreateVariableScopeSnapshot(Snapshot originSnapshot,
+ std::string const& entryPointCommand,
+ long entryPointLine);
Snapshot CreateInlineListFileSnapshot(Snapshot originSnapshot,
const std::string& entryPointCommand,
long entryPointLine,