summaryrefslogtreecommitdiffstats
path: root/Source/cmMakefile.h
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2010-08-24 20:50:15 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2010-09-01 17:08:14 (GMT)
commite141bc950a1970c6bc96fa5f55fd60c6aedbb2d0 (patch)
tree0b6b9931c33a5de02a82f444925bfeabe9700160 /Source/cmMakefile.h
parentd3e8eb504137dde90a73f1b46f97f889af46db18 (diff)
downloadCMake-e141bc950a1970c6bc96fa5f55fd60c6aedbb2d0.zip
CMake-e141bc950a1970c6bc96fa5f55fd60c6aedbb2d0.tar.gz
CMake-e141bc950a1970c6bc96fa5f55fd60c6aedbb2d0.tar.bz2
Detect unused variables
Diffstat (limited to 'Source/cmMakefile.h')
-rw-r--r--Source/cmMakefile.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/cmMakefile.h b/Source/cmMakefile.h
index cec2738..184253a 100644
--- a/Source/cmMakefile.h
+++ b/Source/cmMakefile.h
@@ -63,6 +63,8 @@ public:
/* return true if a variable has been initialized */
bool VariableInitialized(const char* ) const;
+ /* return true if a variable has been used */
+ bool VariableUsed(const char* ) const;
/* return true if a variable has been set with
set(foo )
*/
@@ -931,6 +933,10 @@ private:
// should this makefile be processed before or after processing the parent
bool PreOrder;
+ // Unused variable flags
+ bool FindUnused;
+ bool DefaultToUsed;
+
// stack of list files being read
std::deque<cmStdString> ListFileStack;