summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorStephen Kelly <steveire@gmail.com>2015-06-06 07:45:56 (GMT)
committerStephen Kelly <steveire@gmail.com>2015-06-07 07:32:38 (GMT)
commite04217010345fd350d3ddd7897e47eb47eaec1d8 (patch)
tree6b3009c335ef27d5b088de86046dbac672456ed0 /Source/cmMakefile.h
parentc26696eb404888cec525bf3ee2e538ae8532156f (diff)
downloadCMake-e04217010345fd350d3ddd7897e47eb47eaec1d8.zip
CMake-e04217010345fd350d3ddd7897e47eb47eaec1d8.tar.gz
CMake-e04217010345fd350d3ddd7897e47eb47eaec1d8.tar.bz2
cmMakefile: Re-arrange data layout.
2168 to 2152 bytes with GNU libstdc++-5.1.
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h16
1 files changed, 7 insertions, 9 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index 7518631..32223b4 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -372,8 +372,6 @@ public:
};
friend class PolicyPushPop;
- mutable std::set<cmListFileContext> CMP0054ReportedIds;
-
/**
* Determine if the given context, name pair has already been reported
* in context of CMP0054.
@@ -848,6 +846,8 @@ protected:
// Check for a an unused variable
void LogUnused(const char* reason, const std::string& name) const;
+ mutable std::set<cmListFileContext> CMP0054ReportedIds;
+
std::string ProjectName; // project name
// libraries, classes, and executables
@@ -949,10 +949,6 @@ private:
cmPropertyMap Properties;
- // Unused variable flags
- bool WarnUnused;
- bool CheckSystemVars;
-
// stack of list files being read
std::vector<std::string> ListFileStack;
@@ -994,8 +990,6 @@ private:
cmPolicies::PolicyStatus
GetPolicyStatusInternal(cmPolicies::PolicyID id) const;
- bool CheckCMP0000;
-
// Enforce rules about CMakeLists.txt files.
void EnforceDirectoryLevelRules() const;
@@ -1021,7 +1015,6 @@ private:
long line,
bool removeEmpty,
bool replaceAt) const;
- bool Configured;
/**
* Old version of GetSourceFileWithOutput(const std::string&) kept for
* backward-compatibility. It implements a linear search and support
@@ -1067,6 +1060,11 @@ private:
void CheckForUnusedVariables() const;
+ // Unused variable flags
+ bool WarnUnused;
+ bool CheckSystemVars;
+ bool CheckCMP0000;
+ bool Configured;
mutable bool SuppressWatches;
};