summaryrefslogtreecommitdiff
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-08-01 19:41:26 +0200
committerStephen Kelly <steveire@gmail.com>2015-08-23 17:08:54 +0200
commit6954c8936f52dcf7710e4b72b2e090b79bf38d1c (patch)
treec8a5ece825f63ee46d74de3332069c0d024ad99a /Source/cmState.h
parent1fc645bd9cffb3170743de5c983f2407eeaaa086 (diff)
downloadcmake-6954c8936f52dcf7710e4b72b2e090b79bf38d1c.tar.gz
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 bc89cc83cd..4d87653bb0 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,