diff options
author | Kitware Robot <kwrobot@kitware.com> | 2018-06-01 13:53:41 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2018-06-01 13:53:42 (GMT) |
commit | d7204e649ed4ebb19bb341b4e49eb51514364922 (patch) | |
tree | d9ac3ded5ae6899be7188795011743fe3e6da0a6 /Source/cmCommandArgumentsHelper.h | |
parent | 12fed3edb107c949671043196fa94c542b45452a (diff) | |
download | CMake-d7204e649ed4ebb19bb341b4e49eb51514364922.zip CMake-d7204e649ed4ebb19bb341b4e49eb51514364922.tar.gz CMake-d7204e649ed4ebb19bb341b4e49eb51514364922.tar.bz2 |
Revise C++ coding style using clang-format-6.0
Run the `clang-format.bash` script to update all our C and C++ code to a
new style defined by `.clang-format`. Use `clang-format` version 6.0.
* 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/cmCommandArgumentsHelper.h')
-rw-r--r-- | Source/cmCommandArgumentsHelper.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Source/cmCommandArgumentsHelper.h b/Source/cmCommandArgumentsHelper.h index d3f102c..c68e64c 100644 --- a/Source/cmCommandArgumentsHelper.h +++ b/Source/cmCommandArgumentsHelper.h @@ -98,6 +98,7 @@ public: /** Is there a keyword which should be skipped in the arguments (e.g. ARGS for ADD_CUSTOM_COMMAND) ? */ void SetIgnore(const char* ignore) { this->Ignore = ignore; } + private: std::vector<std::string> Vector; unsigned int DataStart; @@ -118,6 +119,7 @@ public: /// Return the string const std::string& GetString() const { return this->String; } const char* GetCString() const { return this->String.c_str(); } + private: std::string String; unsigned int DataStart; @@ -136,6 +138,7 @@ public: /// Has it been enabled ? bool IsEnabled() const { return this->Enabled; } + private: bool Enabled; bool DoConsume(const std::string& arg, unsigned int index) override; @@ -153,6 +156,7 @@ public: /// Is it still enabled ? bool IsEnabled() const { return this->Enabled; } + private: bool Enabled; bool DoConsume(const std::string& arg, unsigned int index) override; |