summaryrefslogtreecommitdiffstats
path: root/Source/cmXCodeObject.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2016-05-06 19:21:30 (GMT)
committerBrad King <brad.king@kitware.com>2016-05-06 19:54:32 (GMT)
commitafca373510b5303d55fde17085718323ea9b2cb9 (patch)
tree58e3a35b917897d22abae23f9929c17c2b2a8bbc /Source/cmXCodeObject.cxx
parent85425a3e6c40b1035a4be98466d8df9cad9bf479 (diff)
downloadCMake-afca373510b5303d55fde17085718323ea9b2cb9.zip
CMake-afca373510b5303d55fde17085718323ea9b2cb9.tar.gz
CMake-afca373510b5303d55fde17085718323ea9b2cb9.tar.bz2
Help clang-format wrap after braces on long initializer lists
Add a long comment inside a few braced initializer lists in order to convince clang-format to break after the opening brace and format the list without indenting every value past the opening brace.
Diffstat (limited to 'Source/cmXCodeObject.cxx')
-rw-r--r--Source/cmXCodeObject.cxx1
1 files changed, 1 insertions, 0 deletions
diff --git a/Source/cmXCodeObject.cxx b/Source/cmXCodeObject.cxx
index 87b2e89..e7d18b7 100644
--- a/Source/cmXCodeObject.cxx
+++ b/Source/cmXCodeObject.cxx
@@ -17,6 +17,7 @@
//----------------------------------------------------------------------------
const char* cmXCodeObject::PBXTypeNames[] = {
+ /* clang-format needs this comment to break after the opening brace */
"PBXGroup", "PBXBuildStyle", "PBXProject", "PBXHeadersBuildPhase",
"PBXSourcesBuildPhase", "PBXFrameworksBuildPhase", "PBXNativeTarget",
"PBXFileReference", "PBXBuildFile", "PBXContainerItemProxy",