Clang-format should put a newline after public: or private: statements in class definitions

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: Build
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      ERROR: Found diff for /home/spencer/mongo3/src/mongo/s/catalog/replset/catalog_manager_replica_set.h
      To fix formatting errors, run /usr/bin/clang-format-3.6 --style=file -i /home/spencer/mongo3/src/mongo/s/catalog/replset/catalog_manager_replica_set.h

      +++
      @@ -45,7 +45,6 @@
      */
      class CatalogManagerReplicaSet final : public CatalogManager {
      public:
      -
      CatalogManagerReplicaSet();
      virtual ~CatalogManagerReplicaSet();

      ERROR: Code Style does not match coding style

              Assignee:
              DO NOT USE - Backlog - Platform Team
              Reporter:
              Spencer Brody (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: