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

    XMLWordPrintable

    Details

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

      Description

      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

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                7 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: