mirror of
https://github.com/Kitware/CMake.git
synced 2026-04-26 00:00:39 -05:00
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:
@@ -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",
|
||||
|
||||
Reference in New Issue
Block a user