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.
This commit is contained in:
Brad King
2016-05-06 15:21:30 -04:00
parent 85425a3e6c
commit afca373510
6 changed files with 9 additions and 1 deletions
+1
View File
@@ -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",