summaryrefslogtreecommitdiffstats
path: root/Source/cmEndWhileCommand.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmEndWhileCommand.h')
-rw-r--r--Source/cmEndWhileCommand.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/Source/cmEndWhileCommand.h b/Source/cmEndWhileCommand.h
index 8e0b488..18ba5ea 100644
--- a/Source/cmEndWhileCommand.h
+++ b/Source/cmEndWhileCommand.h
@@ -25,7 +25,7 @@ public:
/**
* This is a virtual constructor for the command.
*/
- virtual cmCommand* Clone()
+ virtual cmCommand* Clone()
{
return new cmEndWhileCommand;
}
@@ -34,9 +34,9 @@ public:
* Override cmCommand::InvokeInitialPass to get arguments before
* expansion.
*/
- virtual bool InvokeInitialPass(std::vector<cmListFileArgument> const&,
+ virtual bool InvokeInitialPass(std::vector<cmListFileArgument> const& args,
cmExecutionStatus &status);
-
+
/**
* This is called when the command is first encountered in
* the CMakeLists.txt file.
@@ -47,31 +47,31 @@ public:
/**
* This determines if the command is invoked when in script mode.
*/
- virtual bool IsScriptable() { return true; }
+ virtual bool IsScriptable() const { return true; }
/**
* The name of the command as specified in CMakeList.txt.
*/
- virtual const char* GetName() { return "endwhile";}
+ virtual const char* GetName() const { return "endwhile";}
/**
* Succinct documentation.
*/
- virtual const char* GetTerseDocumentation()
+ virtual const char* GetTerseDocumentation() const
{
return "Ends a list of commands in a while block.";
}
-
+
/**
* More documentation.
*/
- virtual const char* GetFullDocumentation()
+ virtual const char* GetFullDocumentation() const
{
return
" endwhile(expression)\n"
"See the while command.";
}
-
+
cmTypeMacro(cmEndWhileCommand, cmCommand);
};