[clang-format][NFC] Set LineEnding to LF in config files
authorOwen Pan <owenpiano@gmail.com>
Sun, 22 Jan 2023 10:37:39 +0000 (02:37 -0800)
committerOwen Pan <owenpiano@gmail.com>
Sun, 22 Jan 2023 10:53:06 +0000 (02:53 -0800)
To prevent \r\n line endings from getting into the source files.

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

clang/include/clang/Format/.clang-format
clang/lib/Format/.clang-format
clang/unittests/Format/.clang-format

index 0e36277..60f4950 100644 (file)
@@ -1,3 +1,4 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+LineEnding: LF
 RemoveBracesLLVM: true
index 0e36277..60f4950 100644 (file)
@@ -1,3 +1,4 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+LineEnding: LF
 RemoveBracesLLVM: true
index 0e36277..60f4950 100644 (file)
@@ -1,3 +1,4 @@
 BasedOnStyle: LLVM
 InsertBraces: true
+LineEnding: LF
 RemoveBracesLLVM: true