diff options
author | Kitware Robot <kwrobot@kitware.com> | 2023-01-18 12:46:53 -0500 |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2023-01-18 16:20:47 -0500 |
commit | 33abef7416401b7db9f5f68cee447b4246310e72 (patch) | |
tree | 4639cca017838624bfb38c9d82eb34266a28b0c8 /Tests/CompileFeatures/cxx_attribute_deprecated.cpp | |
parent | 57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff) | |
download | cmake-33abef7416401b7db9f5f68cee447b4246310e72.tar.gz |
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 'Tests/CompileFeatures/cxx_attribute_deprecated.cpp')
-rw-r--r-- | Tests/CompileFeatures/cxx_attribute_deprecated.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Tests/CompileFeatures/cxx_attribute_deprecated.cpp b/Tests/CompileFeatures/cxx_attribute_deprecated.cpp index 8faeca8703..5482db8ca3 100644 --- a/Tests/CompileFeatures/cxx_attribute_deprecated.cpp +++ b/Tests/CompileFeatures/cxx_attribute_deprecated.cpp @@ -1,5 +1,8 @@ -[[deprecated]] int foo() { return 0; } +[[deprecated]] int foo() +{ + return 0; +} int someFunc() { |