Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-19396

Clang-format of struct initializers

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Won't Fix
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Internal Code
    • Labels:

      Description

      changes this:

                  *stone = {
                            .lastRecord = oplogEstimates[sampleIndex],
                            .bytes = minBytesPerStone,
                            .records = recordsPerSlot
                   };
      

      to this:

                  *stone = {.lastRecord = oplogEstimates[sampleIndex],
                            .bytes = minBytesPerStone,
                            .records = recordsPerSlot};
      

      which seems inconsistent and undesirable

        Attachments

          Activity

            People

            Assignee:
            backlog-server-platform Backlog - Platform Team
            Reporter:
            martin.bligh Martin Bligh
            Participants:
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: