summaryrefslogtreecommitdiffstats
path: root/Source/cmState.h
diff options
context:
space:
mode:
authorTushar Maheshwari <tushar27192@gmail.com>2020-05-13 14:24:03 (GMT)
committerTushar Maheshwari <tushar27192@gmail.com>2020-05-15 13:28:02 (GMT)
commit6728f0fa858c1782e6c619661f32c016d84d1ad6 (patch)
tree5debb1b915705c9cbe1ca397304a76233c9847cb /Source/cmState.h
parent1cc4bc41916b60e9d52c3a89f6f77b091fbe0d31 (diff)
downloadCMake-6728f0fa858c1782e6c619661f32c016d84d1ad6.zip
CMake-6728f0fa858c1782e6c619661f32c016d84d1ad6.tar.gz
CMake-6728f0fa858c1782e6c619661f32c016d84d1ad6.tar.bz2
cmPropertyDefinitionMap: simplify and shorten
Diffstat (limited to 'Source/cmState.h')
-rw-r--r--Source/cmState.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/Source/cmState.h b/Source/cmState.h
index e966935..f2bd32a 100644
--- a/Source/cmState.h
+++ b/Source/cmState.h
@@ -17,7 +17,7 @@
#include "cmListFileCache.h"
#include "cmPolicies.h"
#include "cmProperty.h"
-#include "cmPropertyDefinitionMap.h"
+#include "cmPropertyDefinition.h"
#include "cmPropertyMap.h"
#include "cmStatePrivate.h"
#include "cmStateTypes.h"
@@ -25,7 +25,6 @@
class cmCacheManager;
class cmCommand;
class cmGlobVerificationManager;
-class cmPropertyDefinition;
class cmStateSnapshot;
class cmMessenger;
class cmExecutionStatus;
@@ -131,9 +130,6 @@ public:
cmPropertyDefinition const* GetPropertyDefinition(
const std::string& name, cmProperty::ScopeType scope) const;
- // Is a property defined?
- bool IsPropertyDefined(const std::string& name,
- cmProperty::ScopeType scope) const;
bool IsPropertyChained(const std::string& name,
cmProperty::ScopeType scope) const;
@@ -225,7 +221,7 @@ private:
const std::string& variable,
cmListFileBacktrace const& bt);
- std::map<cmProperty::ScopeType, cmPropertyDefinitionMap> PropertyDefinitions;
+ cmPropertyDefinitionMap PropertyDefinitions;
std::vector<std::string> EnabledLanguages;
std::map<std::string, Command> BuiltinCommands;
std::map<std::string, Command> ScriptedCommands;