diff options
author | Brad King <brad.king@kitware.com> | 2023-08-01 13:30:41 (GMT) |
---|---|---|
committer | Kitware Robot <kwrobot@kitware.com> | 2023-08-01 13:30:55 (GMT) |
commit | 08c637423c48f588c46d426bdafc1fd7b9e7bb86 (patch) | |
tree | 83f1f4ea85fe8edd17496f6afa089e9e1348006a /Source/cmXCode21Object.cxx | |
parent | d56b0f9339c841c05fedee9ffb872638429caaa9 (diff) | |
parent | 09b7ac7f6781fcf665cadf08a19a274bfc8c3521 (diff) | |
download | CMake-08c637423c48f588c46d426bdafc1fd7b9e7bb86.zip CMake-08c637423c48f588c46d426bdafc1fd7b9e7bb86.tar.gz CMake-08c637423c48f588c46d426bdafc1fd7b9e7bb86.tar.bz2 |
Merge topic 'clang-tidy-xcode-generator'
09b7ac7f67 strings: use single characters where possible
6aa9023700 string_view: use string_view literals in comparisons
1b60137b98 strings: combine string literals
e1b70d7286 cmCPackDragNDropGenerator: use a string instead of a stream for commands
f5d04b5bf0 cmStrCat: use where possible in Apple-specific sources
3af822cd8f cmXCode21Object: simplify streaming expression
c4f751604b cmLocalXCodeGenerator: return a default string
ce549909fb cmCPackPKGGenerator: remove unnecessary `.c_str()` calls
...
Acked-by: Kitware Robot <kwrobot@kitware.com>
Tested-by: buildbot <buildbot@kitware.com>
Merge-request: !8660
Diffstat (limited to 'Source/cmXCode21Object.cxx')
-rw-r--r-- | Source/cmXCode21Object.cxx | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmXCode21Object.cxx b/Source/cmXCode21Object.cxx index 9b0dc58..7a40eaa 100644 --- a/Source/cmXCode21Object.cxx +++ b/Source/cmXCode21Object.cxx @@ -26,9 +26,7 @@ void cmXCode21Object::PrintComment(std::ostream& out) if (this->Comment.empty()) { return; } - out << " /* "; - out << this->Comment; - out << " */"; + out << " /* " << this->Comment << " */"; } void cmXCode21Object::PrintList( |