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

James Henderson llvmlistbot at llvm.org
Thu Oct 2 01:18:53 PDT 2025


jh7370 wrote:

> Thanks for confirming that Windows side is fine. I assume clang-format runs only on C/C++ source files, so other files like `.bat` or `.py` should be unaffected by this change. Additionally, in my test PR #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.

Thanks, sounds good to me.

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


More information about the Mlir-commits mailing list