[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
----------------
nikic wrote:

Why only C/C++ files? Don't we use this style for basically ~everything (including Python, `.ll` test files etc)?

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


More information about the llvm-commits mailing list