diff options
author | Kitware Robot <kwrobot@kitware.com> | 2023-01-18 17:46:53 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 21:20:47 (GMT) |
commit | 33abef7416401b7db9f5f68cee447b4246310e72 (patch) | |
tree | 4639cca017838624bfb38c9d82eb34266a28b0c8 /Source/CPack | |
parent | 57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff) | |
download | CMake-33abef7416401b7db9f5f68cee447b4246310e72.zip CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.gz CMake-33abef7416401b7db9f5f68cee447b4246310e72.tar.bz2 |
Revise C++ coding style using clang-format-15
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 15.
* 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.
Fixes: #24315
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackGenerator.h b/Source/CPack/cmCPackGenerator.h index 65156ab..8078d9f 100644 --- a/Source/CPack/cmCPackGenerator.h +++ b/Source/CPack/cmCPackGenerator.h @@ -344,8 +344,14 @@ private: #define cmCPackTypeMacro(klass, superclass) \ using Superclass = superclass; \ - const char* GetNameOfClass() override { return #klass; } \ - static cmCPackGenerator* CreateGenerator() { return new klass; } \ + const char* GetNameOfClass() override \ + { \ + return #klass; \ + } \ + static cmCPackGenerator* CreateGenerator() \ + { \ + return new klass; \ + } \ class cmCPackTypeMacro_UseTrailingSemicolon #define cmCPackLogger(logType, msg) \ |