[PATCH] D124563: Renormalize line endings after ac5f7be6a8688955a282becf00eebc542238a86b
Aaron Puchert via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 27 17:46:50 PDT 2022
aaronpuchert updated this revision to Diff 425670.
aaronpuchert edited the summary of this revision.
aaronpuchert removed a subscriber: drodriguez.
aaronpuchert added a comment.
Herald added a subscriber: jdoerfert.
Drop `* text=auto`, so that we renormalize only the files that need it.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D124563/new/
https://reviews.llvm.org/D124563
Files:
clang-tools-extra/test/.gitattributes
clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp
clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
Index: clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
===================================================================
--- clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
+++ clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp.expected
@@ -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;
+}
Index: clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp
===================================================================
--- clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp
+++ clang-tools-extra/test/clang-apply-replacements/Inputs/crlf/crlf.cpp
@@ -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;
+}
Index: clang-tools-extra/test/.gitattributes
===================================================================
--- clang-tools-extra/test/.gitattributes
+++ clang-tools-extra/test/.gitattributes
@@ -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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124563.425670.patch
Type: text/x-patch
Size: 1730 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220428/722074d9/attachment.bin>
More information about the cfe-commits
mailing list