[all-commits] [llvm/llvm-project] 5d1df6: sanitizers: increase .clang-format columns to 100

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Jul 22 02:15:17 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5d1df6d220f1d6f726d9643848679d781750db64
      https://github.com/llvm/llvm-project/commit/5d1df6d220f1d6f726d9643848679d781750db64
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-22 (Thu, 22 Jul 2021)

  Changed paths:
    M compiler-rt/lib/asan/.clang-format
    M compiler-rt/lib/dfsan/.clang-format
    M compiler-rt/lib/hwasan/.clang-format
    M compiler-rt/lib/interception/.clang-format
    M compiler-rt/lib/lsan/.clang-format
    M compiler-rt/lib/msan/.clang-format
    M compiler-rt/lib/safestack/.clang-format
    M compiler-rt/lib/sanitizer_common/.clang-format
    M compiler-rt/lib/tsan/.clang-format

  Log Message:
  -----------
  sanitizers: increase .clang-format columns to 100

The current (default) line length is 80 columns.
That's based on old hardware and historical conventions.
There are no existent reasons to keep line length that small,
especially provided that our coding style uses quite lengthy
identifiers. The Linux kernel recently switched to 100,
let's start with 100 as well.

This change intentionally does not re-format code.
Re-formatting is intended to happen incrementally,
or on dir-by-dir basis separately.

Reviewed By: vitalybuka, melver, MaskRay

Differential Revision: https://reviews.llvm.org/D106436




More information about the All-commits mailing list