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

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

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

      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:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            spencer@mongodb.com Spencer Brody (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: