Skip to content

[gitattributes] Mark some llvm-rc inputs as requiring LF newlines #113222

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions llvm/.gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ test/tools/llvm-mca/X86/directives-handle-crlf.s text eol=crlf

# These files must have LF line endings because the test requires exact matching
test/Object/Inputs/*.tbd eol=lf
test/tools/llvm-rc/Inputs/webpage*.html text eol=lf
test/tools/llvm-strings/radix.test text eol=lf
test/tools/llvm-tapi-diff/Inputs/*.tbd text eol=lf
test/tools/split-file/basic.test text eol=lf
Expand Down
4 changes: 1 addition & 3 deletions llvm/test/tools/llvm-rc/tag-html.test
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
; RUN: rm -rf %t && mkdir %t && cd %t
; Remove `\r` in case Git on Windows decided to checkout with Windows newlines.
; RUN: tr -d '\r' <%p/Inputs/webpage1.html > ./webpage1.html
; RUN: tr -d '\r' <%p/Inputs/webpage2.html > ./webpage2.html
; RUN: cp %p/Inputs/webpage*.html .
; RUN: llvm-rc -no-preprocess /FO %t/tag-html.res -- %p/Inputs/tag-html.rc
; RUN: llvm-readobj %t/tag-html.res | FileCheck %s --check-prefix HTML

Expand Down
Loading