[clang] [llvm] [mlir] Enforce Unix line endings for Clang/LLVM/MLIR projects (PR #161460)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Wed Oct 1 09:06:25 PDT 2025


jurahul wrote:

Thanks for confirming that Windows side is fine. I assume clang-format run only on C/C++ source files, so other files like .bat or .py should be unaffected by this change. Additionally, in my test PR https://github.com/llvm/llvm-project/pull/161257 I had modified a .cpp file under `llvm/test` and it did not complain, because `llvm/test/.clang-format` has `DisableFormat: true`. The same is true for `clang/test/.clang-format`. `mlir/test` does not have a .clang-format as the .cpp/.h file in there are true source files that are built as a part of the build and are not test inputs.

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


More information about the llvm-commits mailing list