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

7
.gitattributes vendored
View File

@ -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/src/**/*.cpp merge=libcxx-reformat
libcxx/include/**/*.h merge=libcxx-reformat libcxx/include/**/*.h merge=libcxx-reformat

View File

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

View File

@ -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

View File

@ -360,12 +360,6 @@ Best practices for regression tests
- Try to give values (including variables, blocks and functions) meaningful - Try to give values (including variables, blocks and functions) meaningful
names, and avoid retaining complex names generated by the optimization names, and avoid retaining complex names generated by the optimization
pipeline (such as ``%foo.0.0.0.0.0.0``). 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 Extra files
----------- -----------

View File

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

View File

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

View File

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