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

XMLWordPrintableJSON

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

      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:
              [DO NOT ASSIGN] Backlog - Server Development Platform Team (SDP) (Inactive)
              Reporter:
              Vesselina Ratcheva (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated:
                Resolved: