forked from OSchip/llvm-project
Drop '* text=auto' from .gitattributes and normalize
Git wants to check in 'text' files with LF endings, so this changes them in the repository but not in the checkout, where they keep CRLF endings. Differential Revision: https://reviews.llvm.org/D124563
This commit is contained in:
parent
6adb8c2208
commit
c9a16e8c3d
|
@ -2,10 +2,6 @@
|
|||
# rely on or check fixed character -offset, Offset: or FileOffset: locations
|
||||
# will fail when run on input files checked out with different line endings.
|
||||
|
||||
# Most test input files should use native line endings, to ensure that we run
|
||||
# tests against both line ending types.
|
||||
* text=auto
|
||||
|
||||
# These test input files rely on one-byte Unix (LF) line-endings, as they use
|
||||
# fixed -offset, FileOffset:, or Offset: numbers in their tests.
|
||||
clang-apply-replacements/ClangRenameClassReplacements.cpp text eol=lf
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
// This file intentionally uses a CRLF newlines!
|
||||
|
||||
void foo() {
|
||||
int *x = 0;
|
||||
}
|
||||
|
||||
// This file intentionally uses a CRLF newlines!
|
||||
|
||||
void foo() {
|
||||
int *x = 0;
|
||||
}
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
|
||||
// This file intentionally uses a CRLF newlines!
|
||||
|
||||
void foo() {
|
||||
int *x = nullptr;
|
||||
}
|
||||
|
||||
// This file intentionally uses a CRLF newlines!
|
||||
|
||||
void foo() {
|
||||
int *x = nullptr;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue