[all-commits] [llvm/llvm-project] e3eca3: [clang-format] Replace DeriveLineEnding and UseCRL...

Owen via All-commits all-commits at lists.llvm.org
Fri Jan 13 15:46:51 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e3eca335940251308c8990c8880341002e74b9c1
      https://github.com/llvm/llvm-project/commit/e3eca335940251308c8990c8880341002e74b9c1
  Author: Owen Pan <owenpiano at gmail.com>
  Date:   2023-01-13 (Fri, 13 Jan 2023)

  Changed paths:
    M clang/docs/ClangFormatStyleOptions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Format/Format.h
    M clang/lib/Format/DefinitionBlockSeparator.cpp
    M clang/lib/Format/Format.cpp
    M clang/unittests/Format/ConfigParseTest.cpp
    M clang/unittests/Format/FormatTest.cpp

  Log Message:
  -----------
  [clang-format] Replace DeriveLineEnding and UseCRLF with LineEnding

Below is the mapping:
LineEnding  DeriveLineEnding UseCRLF
LF                false       false
CRLF              false       true
DeriveLF          true        false
DeriveCRLF        true        true

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




More information about the All-commits mailing list