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

James Henderson via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 30 02:51:52 PDT 2025


https://github.com/jh7370 commented:

+1 to the general idea, but as nikic has mentioned, it's my understanding that the line endings should be \n for all cases except for a few very specific exceptions, which probably don't need enumerating in the coding standard (assuming they are obvious from the specific contexts, i.e. the tests that rely on line endings).

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


More information about the llvm-commits mailing list