0
0
mirror of https://github.com/llvm/llvm-project.git synced 2025-04-22 01:56:52 +00:00

Revert "Finally formalise our defacto line-ending policy"

This reverts commit dccebddb3b802c4c1fe287222e454b63f850f012.
This commit is contained in:
Luke Drummond 2024-10-18 21:16:24 +01:00
parent 2bff9d9ffe
commit e669bbbb72
7 changed files with 0 additions and 23 deletions
.gitattributes
clang-tools-extra/clangd/test
clang/test
llvm
docs
test
FileCheck
tools/llvm-ar/Inputs
utils/lit/tests/Inputs/shtest-shell

7
.gitattributes vendored

@ -1,10 +1,3 @@
# Checkout as native, commit as LF except in specific circumstances
* text=auto
*.bat text eol=crlf
*.rc text eol=crlf
*.sln text eol=crlf
*.natvis text eol=crlf
libcxx/src/**/*.cpp merge=libcxx-reformat
libcxx/include/**/*.h merge=libcxx-reformat

@ -1,3 +0,0 @@
input-mirror.test text eol=crlf
too_large.test text eol=crlf
protocol.test text eol=crlf

@ -1,4 +0,0 @@
FixIt/fixit-newline-style.c text eol=crlf
Frontend/system-header-line-directive-ms-lineendings.c text eol=crlf
Frontend/rewrite-includes-mixed-eol-crlf.* text eol=crlf
clang/test/Frontend/rewrite-includes-mixed-eol-lf.h text eolf=lf

@ -360,12 +360,6 @@ Best practices for regression tests
- Try to give values (including variables, blocks and functions) meaningful
names, and avoid retaining complex names generated by the optimization
pipeline (such as ``%foo.0.0.0.0.0.0``).
- If your tests depend on specific input file encodings, beware of line-ending
issues across different platforms, and in the project's history. Before you
commit tests that depend on explicit encodings, consider adding filetype or
specific line-ending annotations to a `<.gitattributes
https://git-scm.com/docs/gitattributes#_effects>`_ file in the appropriate
directory in the repository.
Extra files
-----------

@ -1 +0,0 @@
dos-style-eol.txt text eol=crlf

@ -1 +0,0 @@
mri-crlf.mri text eol=crlf

@ -1 +0,0 @@
*.dos text eol=crlf