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

Clang-format of struct initializers

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

      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

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

              Created:
              Updated:
              Resolved: