owenpan created this revision. owenpan added reviewers: MyDeveloperDay, HazardyKnusperkeks, rymiel. owenpan added a project: clang-format. Herald added a project: All. owenpan requested review of this revision. Herald added a project: clang. Herald added a subscriber: cfe-commits.
To prevent `\r\n` line endings from getting into the source files. I'd rather change the default to `false` for LLVM style though. What do you think? Repository: rG LLVM Github Monorepo https://reviews.llvm.org/D141098 Files: clang/include/clang/Format/.clang-format clang/lib/Format/.clang-format clang/unittests/Format/.clang-format Index: clang/unittests/Format/.clang-format =================================================================== --- clang/unittests/Format/.clang-format +++ clang/unittests/Format/.clang-format @@ -1,3 +1,4 @@ BasedOnStyle: LLVM +DeriveLineEnding: false InsertBraces: true RemoveBracesLLVM: true Index: clang/lib/Format/.clang-format =================================================================== --- clang/lib/Format/.clang-format +++ clang/lib/Format/.clang-format @@ -1,3 +1,4 @@ BasedOnStyle: LLVM +DeriveLineEnding: false InsertBraces: true RemoveBracesLLVM: true Index: clang/include/clang/Format/.clang-format =================================================================== --- clang/include/clang/Format/.clang-format +++ clang/include/clang/Format/.clang-format @@ -1,3 +1,4 @@ BasedOnStyle: LLVM +DeriveLineEnding: false InsertBraces: true RemoveBracesLLVM: true
Index: clang/unittests/Format/.clang-format =================================================================== --- clang/unittests/Format/.clang-format +++ clang/unittests/Format/.clang-format @@ -1,3 +1,4 @@ BasedOnStyle: LLVM +DeriveLineEnding: false InsertBraces: true RemoveBracesLLVM: true Index: clang/lib/Format/.clang-format =================================================================== --- clang/lib/Format/.clang-format +++ clang/lib/Format/.clang-format @@ -1,3 +1,4 @@ BasedOnStyle: LLVM +DeriveLineEnding: false InsertBraces: true RemoveBracesLLVM: true Index: clang/include/clang/Format/.clang-format =================================================================== --- clang/include/clang/Format/.clang-format +++ clang/include/clang/Format/.clang-format @@ -1,3 +1,4 @@ BasedOnStyle: LLVM +DeriveLineEnding: false InsertBraces: true RemoveBracesLLVM: true
_______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits