summaryrefslogtreecommitdiffstats
path: root/Source/cmExecutionStatus.h
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2016-05-16 14:34:04 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-16 20:05:19 (GMT)
commitd9fd2f5402eeaa345691313658e02b51038f570b (patch)
treedca71b9a7e267f4c6300da3eb770415381726785 /Source/cmExecutionStatus.h
parent82df6deaafb36cbbfd450202bb20b320f637751a (diff)
downloadCMake-d9fd2f5402eeaa345691313658e02b51038f570b.zip
CMake-d9fd2f5402eeaa345691313658e02b51038f570b.tar.gz
CMake-d9fd2f5402eeaa345691313658e02b51038f570b.tar.bz2
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.
Diffstat (limited to 'Source/cmExecutionStatus.h')
-rw-r--r--Source/cmExecutionStatus.h22
1 files changed, 8 insertions, 14 deletions
diff --git a/Source/cmExecutionStatus.h b/Source/cmExecutionStatus.h
index 201465d..508c6bd 100644
--- a/Source/cmExecutionStatus.h
+++ b/Source/cmExecutionStatus.h
@@ -24,28 +24,22 @@ class cmExecutionStatus
public:
cmExecutionStatus() { this->Clear(); }
- void SetReturnInvoked(bool val)
- { this->ReturnInvoked = val; }
- bool GetReturnInvoked()
- { return this->ReturnInvoked; }
+ void SetReturnInvoked(bool val) { this->ReturnInvoked = val; }
+ bool GetReturnInvoked() { return this->ReturnInvoked; }
- void SetBreakInvoked(bool val)
- { this->BreakInvoked = val; }
- bool GetBreakInvoked()
- { return this->BreakInvoked; }
+ void SetBreakInvoked(bool val) { this->BreakInvoked = val; }
+ bool GetBreakInvoked() { return this->BreakInvoked; }
- void SetContinueInvoked(bool val)
- { this->ContinueInvoked = val; }
- bool GetContinueInvoked()
- { return this->ContinueInvoked; }
+ void SetContinueInvoked(bool val) { this->ContinueInvoked = val; }
+ bool GetContinueInvoked() { return this->ContinueInvoked; }
void Clear()
- {
+ {
this->ReturnInvoked = false;
this->BreakInvoked = false;
this->ContinueInvoked = false;
this->NestedError = false;
- }
+ }
void SetNestedError(bool val) { this->NestedError = val; }
bool GetNestedError() { return this->NestedError; }