summaryrefslogtreecommitdiff
path: root/Source/cmSetPropertyCommand.cxx
diff options
context:
space:
mode:
authorKitware Robot <kwrobot@kitware.com>2023-01-18 12:46:53 -0500
committerBrad King <brad.king@kitware.com>2023-01-18 16:20:47 -0500
commit33abef7416401b7db9f5f68cee447b4246310e72 (patch)
tree4639cca017838624bfb38c9d82eb34266a28b0c8 /Source/cmSetPropertyCommand.cxx
parent57221fd56f77d32703aadada435d9a8f0dc3fb6c (diff)
downloadcmake-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 'Source/cmSetPropertyCommand.cxx')
-rw-r--r--Source/cmSetPropertyCommand.cxx7
1 files changed, 3 insertions, 4 deletions
diff --git a/Source/cmSetPropertyCommand.cxx b/Source/cmSetPropertyCommand.cxx
index 521cf63afd..de1e3b0f21 100644
--- a/Source/cmSetPropertyCommand.cxx
+++ b/Source/cmSetPropertyCommand.cxx
@@ -619,10 +619,9 @@ bool HandleSource(cmSourceFile* sf, const std::string& propertyName,
if (propertyName == "GENERATED") {
SetPropertyCommand::PropertyOp op = (remove)
? SetPropertyCommand::PropertyOp::Remove
- : (appendAsString)
- ? SetPropertyCommand::PropertyOp::AppendAsString
- : (appendMode) ? SetPropertyCommand::PropertyOp::Append
- : SetPropertyCommand::PropertyOp::Set;
+ : (appendAsString) ? SetPropertyCommand::PropertyOp::AppendAsString
+ : (appendMode) ? SetPropertyCommand::PropertyOp::Append
+ : SetPropertyCommand::PropertyOp::Set;
return SetPropertyCommand::HandleAndValidateSourceFilePropertyGENERATED(
sf, propertyValue, op);
}