Skip to content

Commit 4e404d0

Browse files
authored
[CodingStandard] Require Unix line endings for all files (#161228)
Require all files to use Unix line endings, formalizing an already followed convention.
1 parent b80b48d commit 4e404d0

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

llvm/docs/CodingStandards.rst

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,6 +1790,12 @@ would help to avoid running into a "dangling else" situation.
17901790
markAsIgnored(D);
17911791
}
17921792
1793+
Use Unix line endings for files
1794+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1795+
1796+
Use Unix line endings for all files. CRLF line endings are allowed as an
1797+
exception for test files that intend to test CRLF handling or when the file
1798+
format requires it (like ``.bat`` or ``.rc`` files).
17931799

17941800
See Also
17951801
========

0 commit comments

Comments
 (0)