Skip to content

Commit 985ef74

Browse files
committed
Review feedback
1 parent e32e3d6 commit 985ef74

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

llvm/docs/CodingStandards.rst

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1790,13 +1790,12 @@ would help to avoid running into a "dangling else" situation.
17901790
markAsIgnored(D);
17911791
}
17921792
1793-
Use Unix style line endings for source files
1794-
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1793+
Use Unix line endings for source files
1794+
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17951795

1796-
Use Unix style line endings for C/C++ source files (``.c``, ``.cpp`` and header
1797-
files). This is required to avoid various build issue for downstream clients of
1798-
LLVM. Test files like C/C++/HLSL test inputs can continue to use any line ending
1799-
style.
1796+
Use Unix line endings for all source 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).
18001799

18011800
See Also
18021801
========

0 commit comments

Comments
 (0)