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

            pschella Pim Schellart [X] (Inactive) created issue -
            pschella Pim Schellart [X] (Inactive) made changes -
            Field Original Value New Value
            Link This issue is triggered by RFC-261 [ RFC-261 ]
            pschella Pim Schellart [X] (Inactive) made changes -
            Reviewers Kian-Tat Lim [ ktl ]
            pschella Pim Schellart [X] (Inactive) made changes -
            Watchers John Parejko, Pim Schellart [ John Parejko, Pim Schellart ] Jim Bosch, John Parejko, John Swinbank, Pim Schellart, Russell Owen [ Jim Bosch, John Parejko, John Swinbank, Pim Schellart, Russell Owen ]
            pschella Pim Schellart [X] (Inactive) made changes -
            Watchers Jim Bosch, John Parejko, John Swinbank, Pim Schellart, Russell Owen [ Jim Bosch, John Parejko, John Swinbank, Pim Schellart, Russell Owen ] Jim Bosch, John Parejko, John Swinbank, Pim Schellart, Russell Owen, Tim Jenness [ Jim Bosch, John Parejko, John Swinbank, Pim Schellart, Russell Owen, Tim Jenness ]
            pschella Pim Schellart [X] (Inactive) made changes -
            Status To Do [ 10001 ] In Review [ 10004 ]
            swinbank John Swinbank made changes -
            Team Data Release Production [ 10301 ]
            ktl Kian-Tat Lim made changes -
            Status In Review [ 10004 ] Reviewed [ 10101 ]
            pschella Pim Schellart [X] (Inactive) made changes -
            Resolution Done [ 10000 ]
            Status Reviewed [ 10101 ] Done [ 10002 ]

              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.