[all-commits] [llvm/llvm-project] 358eaa: [clang-format] Flexible line endings
Cameron via All-commits
all-commits at lists.llvm.org
Fri Nov 15 08:50:56 PST 2019
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 358eaa3dcea1dee6350c2cbf80aab3c25db4d4d9
https://github.com/llvm/llvm-project/commit/358eaa3dcea1dee6350c2cbf80aab3c25db4d4d9
Author: Cameron Desrochers <Cameron.Desrochers at octasic.com>
Date: 2019-11-15 (Fri, 15 Nov 2019)
Changed paths:
M clang/include/clang/Format/Format.h
M clang/lib/Format/Format.cpp
M clang/unittests/Format/FormatTest.cpp
Log Message:
-----------
[clang-format] Flexible line endings
Line ending detection is now set with the `DeriveLineEnding` option.
CRLF can now be used as the default line ending by setting `UseCRLF`.
When line ending detection is disabled, all line endings are converted
according to the `UseCRLF` option.
Differential Revision: https://reviews.llvm.org/D19031
More information about the All-commits
mailing list