[clang] [clang-tools-extra] [compiler-rt] [flang] [lldb] [llvm] [mlir] [openmp] [pstl] Finally formalise our defacto line-ending policy (PR #86318)

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Fri May 3 10:24:47 PDT 2024


================
@@ -1,3 +1,10 @@
+# Checkout as native, commit as LF except in specific circumstances
+* text=auto
+*.bat text eol=crlf
+*.rc text eol=crlf
+*.sln text eol=crlf
----------------
MaskRay wrote:

Do we need `.sln`? There is only one file in `clang/tools/clang-format-vs`. There are a few other text files in this directory, so perhaps a gitattributes in that directory is better?

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


More information about the llvm-commits mailing list