Skip to content

Commit dadfc6b

Browse files
committed
[clang-format][NFC] Set LineEnding to LF in config files
To prevent \r\n line endings from getting into the source files. Differential Revision: https://reviews.llvm.org/D141098
1 parent af6c43c commit dadfc6b

File tree

3 files changed

+3
-0
lines changed

3 files changed

+3
-0
lines changed
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
BasedOnStyle: LLVM
22
InsertBraces: true
3+
LineEnding: LF
34
RemoveBracesLLVM: true

clang/lib/Format/.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
BasedOnStyle: LLVM
22
InsertBraces: true
3+
LineEnding: LF
34
RemoveBracesLLVM: true

clang/unittests/Format/.clang-format

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
BasedOnStyle: LLVM
22
InsertBraces: true
3+
LineEnding: LF
34
RemoveBracesLLVM: true

0 commit comments

Comments
 (0)