Uploaded image for project: 'Data Management'
  1. Data Management
  2. DM-8713

Update DM C++ Style Guide to enable automatic code layout with clang-format

    XMLWordPrintable

    Details

    • Type: Story
    • Status: Done
    • Resolution: Done
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Story Points:
      0.5
    • Team:
      Data Release Production

      Description

      Implements RFC-261. Update DM C++ Style Guide (primarily section 6) to enable automatic code layout with clang-format.
      This involves adding a version controlled LSST clang-format style that is as much as possible compliant with the current layout rules. And subsequently removing or modifying the existing layout rules to be compliant with the output created by clang-format using this style.

      The intended end result is that users can simply run clang-format (with the LSST provided style) to automatically fix all C++ code layout issues.

      Users are still free to not use clang-format as long as the output looks the same.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              pschella Pim Schellart [X] (Inactive)
              Reporter:
              pschella Pim Schellart [X] (Inactive)
              Reviewers:
              Kian-Tat Lim
              Watchers:
              Jim Bosch, John Parejko, John Swinbank, Kian-Tat Lim, Krzysztof Findeisen, Pim Schellart [X] (Inactive), Russell Owen, Tim Jenness
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:

                  Jenkins

                  No builds found.