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

Clang-format does not add a newline at the end of a file

    • Type: Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Server Development Platform
    • ALL

      Currently, "lint" expects a newline character at the end of a file, but if you create a new one without it, running clang-format will not correct that for you. If a convenient setting exists in .clang-format, it would be wise to have it added. Otherwise, it is currently possible to fail "lint" despite linting, which can be very confusing for new members.

            Assignee:
            backlog-server-devplatform [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
            Reporter:
            vesselina.ratcheva@mongodb.com Vesselina Ratcheva (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: