[all-commits] [llvm/llvm-project] 093d4d: Add "clang-format-on-save-mode" minor mode to clan...

Campbell Barton via All-commits all-commits at lists.llvm.org
Sat Oct 19 13:09:28 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 093d4db2f3c874d4683fb01194b00dbb20e5c713
      https://github.com/llvm/llvm-project/commit/093d4db2f3c874d4683fb01194b00dbb20e5c713
  Author: Campbell Barton <ideasman42 at gmail.com>
  Date:   2024-10-19 (Sat, 19 Oct 2024)

  Changed paths:
    M clang/tools/clang-format/clang-format.el

  Log Message:
  -----------
  Add "clang-format-on-save-mode" minor mode to clang-format.el (#104533)

Add an minor mode which can be optionally used to run clang-format on
save.

Formatting before saving works well and is convenient to avoid having to
remember to manually run clang format.

I've written this as it's own package but it's probably better if the
functionality is supported by clang-format.el.
See: https://github.com/melpa/melpa/pull/8762



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list