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:
parent
2bff9d9ffe
commit
e669bbbb72
.gitattributes
clang-tools-extra/clangd/test
clang/test
llvm
docs
test
utils/lit/tests/Inputs/shtest-shell
7
.gitattributes
vendored
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
|
||||
|
||||
|
3
clang-tools-extra/clangd/test/.gitattributes
vendored
3
clang-tools-extra/clangd/test/.gitattributes
vendored
@ -1,3 +0,0 @@
|
||||
input-mirror.test text eol=crlf
|
||||
too_large.test text eol=crlf
|
||||
protocol.test text eol=crlf
|
4
clang/test/.gitattributes
vendored
4
clang/test/.gitattributes
vendored
@ -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
llvm/test/FileCheck/.gitattributes
vendored
1
llvm/test/FileCheck/.gitattributes
vendored
@ -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
|
Loading…
x
Reference in New Issue
Block a user