Canonicalize line endings to Linux style also when the --strict-whitespace flag is in use. This flag is supposed to affect horizontal whitespaces only.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174541 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Guy Benyei
2013-02-06 20:40:38 +00:00
parent c3662eeaa4
commit 4cc74fcba0
3 changed files with 27 additions and 11 deletions
+11
View File
@@ -0,0 +1,11 @@
// Test for using FileCheck on DOS style end-of-line
// This test was deliberately committed with DOS style end of line.
// Don't change line endings!
// RUN: FileCheck -input-file %s %s
// RUN: FileCheck --strict-whitespace -input-file %s %s
LINE 1
; CHECK: {{^}}LINE 1{{$}}
LINE 2
; CHECK: {{^}}LINE 2{{$}}