From d9fd2f5402eeaa345691313658e02b51038f570b Mon Sep 17 00:00:00 2001 From: Kitware Robot Date: Mon, 16 May 2016 10:34:04 -0400 Subject: Revise C++ coding style using clang-format Run the `Utilities/Scripts/clang-format.bash` script to update all our C++ code to a new style defined by `.clang-format`. Use `clang-format` version 3.8. * If you reached this commit for a line in `git blame`, re-run the blame operation starting at the parent of this commit to see older history for the content. * See the parent commit for instructions to rebase a change across this style transition commit. --- Source/cmEndWhileCommand.h | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) (limited to 'Source/cmEndWhileCommand.h') diff --git a/Source/cmEndWhileCommand.h b/Source/cmEndWhileCommand.h index ec1cb652fa..5eda7af6e1 100644 --- a/Source/cmEndWhileCommand.h +++ b/Source/cmEndWhileCommand.h @@ -25,24 +25,23 @@ public: /** * This is a virtual constructor for the command. */ - virtual cmCommand* Clone() - { - return new cmEndWhileCommand; - } + virtual cmCommand* Clone() { return new cmEndWhileCommand; } /** * Override cmCommand::InvokeInitialPass to get arguments before * expansion. */ virtual bool InvokeInitialPass(std::vector const& args, - cmExecutionStatus &status); + cmExecutionStatus& status); /** * This is called when the command is first encountered in * the CMakeLists.txt file. */ - virtual bool InitialPass(std::vector const&, - cmExecutionStatus &) {return false;} + virtual bool InitialPass(std::vector const&, cmExecutionStatus&) + { + return false; + } /** * This determines if the command is invoked when in script mode. @@ -52,10 +51,9 @@ public: /** * The name of the command as specified in CMakeList.txt. */ - virtual std::string GetName() const { return "endwhile";} + virtual std::string GetName() const { return "endwhile"; } cmTypeMacro(cmEndWhileCommand, cmCommand); }; - #endif -- cgit v1.2.1