summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalXCodeGenerator.cxx
diff options
context:
space:
mode:
authorBen Boeckel <ben.boeckel@kitware.com>2023-07-26 19:43:33 (GMT)
committerBen Boeckel <ben.boeckel@kitware.com>2023-07-30 22:33:07 (GMT)
commit22bc92fbc1bfe0bbee310c8eecf08e4eb5982b6d (patch)
tree7ba078a246596a79acaea70ee13ea7142620b8af /Source/cmGlobalXCodeGenerator.cxx
parente98088ef7551f2fef31204a0a0b1dabd9ee10928 (diff)
downloadCMake-22bc92fbc1bfe0bbee310c8eecf08e4eb5982b6d.zip
CMake-22bc92fbc1bfe0bbee310c8eecf08e4eb5982b6d.tar.gz
CMake-22bc92fbc1bfe0bbee310c8eecf08e4eb5982b6d.tar.bz2
clang-tidy: fix `readability-braces-around-statements` lints
Diffstat (limited to 'Source/cmGlobalXCodeGenerator.cxx')
-rw-r--r--Source/cmGlobalXCodeGenerator.cxx3
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/cmGlobalXCodeGenerator.cxx b/Source/cmGlobalXCodeGenerator.cxx
index 14fe832..f1131fe 100644
--- a/Source/cmGlobalXCodeGenerator.cxx
+++ b/Source/cmGlobalXCodeGenerator.cxx
@@ -1680,8 +1680,9 @@ void cmGlobalXCodeGenerator::ForceLinkerLanguage(cmGeneratorTarget* gtgt)
if (const char* productType = GetTargetProductType(gtgt)) {
if (strcmp(productType,
"com.apple.product-type.app-extension.messages-sticker-pack") ==
- 0)
+ 0) {
return;
+ }
}
// Add an empty source file to the target that compiles with the