[llvm] [CodingStandard] Require Unix line endings for C/C++ source and headers (PR #161228)

Nikita Popov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 00:56:33 PDT 2025


================
@@ -1790,6 +1790,13 @@ would help to avoid running into a "dangling else" situation.
       markAsIgnored(D);
   }
 
+Use Unix style line endings for source files
+^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+
+Use Unix style line endings for C/C++ source files (``.c``, ``.cpp`` and header
+files). This is required to avoid various build issue for downstream clients of
----------------
nikic wrote:

Omit the downstream sentence.

https://github.com/llvm/llvm-project/pull/161228


More information about the llvm-commits mailing list