erikjv created this revision.
Herald added a subscriber: javed.absar.

This is a work-around for ARCMT's inability to handle Windows-style line
terminators (\r\n) correctly. The underlying problem seems to be that
line terminators are assumed to be 1 character long. So with files
ending with \r\n the rewritten files end with \r\r\n. See also PR33124.


https://reviews.llvm.org/D33405

Files:
  .gitattributes


Index: .gitattributes
===================================================================
--- /dev/null
+++ .gitattributes
@@ -0,0 +1,6 @@
+# Default behaviour
+* text=auto
+
+# ARCMT test files
+test/ARCMT/* binary
+test/ARCMT/*/* binary


Index: .gitattributes
===================================================================
--- /dev/null
+++ .gitattributes
@@ -0,0 +1,6 @@
+# Default behaviour
+* text=auto
+
+# ARCMT test files
+test/ARCMT/* binary
+test/ARCMT/*/* binary
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
  • [PATCH] D33405: Mark all A... Erik Verbruggen via Phabricator via cfe-commits

Reply via email to