Skip to content

Commit

Permalink
Revert "[MC] Fix regression tests on Windows when git “core.autocrlf”…
Browse files Browse the repository at this point in the history
… is set to true."

This reverts commit r318528.

MC/AsmParser/preserve-comments-crlf.s fails on linux.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@318533 91177308-0d34-0410-b5e6-96231b3b80d8
  • Loading branch information
espindola committed Nov 17, 2017
1 parent 0b373e1 commit 1e4e74f
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 32 deletions.
12 changes: 0 additions & 12 deletions .gitattributes

This file was deleted.

5 changes: 0 additions & 5 deletions docs/GettingStartedVS.rst
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,6 @@ Here's the short story for getting up and running quickly with LLVM:

* With anonymous Subversion access:

*Note:* some regression tests require Unix-style line ending (``\n``). To
pass all regression tests, please add two lines *enable-auto-props = yes*
and *\* = svn:mime-type=application/octet-stream* to
``C:\Users\<username>\AppData\Roaming\Subversion\config``.

1. ``cd <where-you-want-llvm-to-live>``
2. ``svn co http://llvm.org/svn/llvm-project/llvm/trunk llvm``
3. ``cd llvm``
Expand Down
2 changes: 0 additions & 2 deletions lib/MC/MCParser/AsmLexer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -210,8 +210,6 @@ AsmToken AsmLexer::LexLineComment() {
int CurChar = getNextChar();
while (CurChar != '\n' && CurChar != '\r' && CurChar != EOF)
CurChar = getNextChar();
if (CurChar == '\r' && CurPtr != CurBuf.end() && *CurPtr == '\n')
++CurPtr;

// If we have a CommentConsumer, notify it about the comment.
if (CommentConsumer) {
Expand Down
13 changes: 0 additions & 13 deletions test/MC/AsmParser/preserve-comments-crlf.s

This file was deleted.

0 comments on commit 1e4e74f

Please sign in to comment.