summaryrefslogtreecommitdiff
path: root/test/Lexer
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2019-08-27 01:06:23 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2019-08-27 01:06:23 +0000
commit82826b06c65faa794af55367e9d51a46e8284c11 (patch)
tree7940e61e24af6bca6c3d7b9b4690bb7dd15bb255 /test/Lexer
parent00d79b4a27dd5497a6b0e1b9b7c3cecd3ba2e06c (diff)
downloadclang-82826b06c65faa794af55367e9d51a46e8284c11.tar.gz
Revert "[clang-scan-deps] Minimizer: Correctly handle multi-line content with CR+LF line endings"
This reverts commit r369986. This change added a dependency on the 'dos2unix' tool, which is not one of our accepted test dependencies and may not exist on all machines that build Clang. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@370000 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'test/Lexer')
-rw-r--r--test/Lexer/minimize_source_to_dependency_directives_invalid_error.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/test/Lexer/minimize_source_to_dependency_directives_invalid_error.c b/test/Lexer/minimize_source_to_dependency_directives_invalid_error.c
deleted file mode 100644
index 91005e566f..0000000000
--- a/test/Lexer/minimize_source_to_dependency_directives_invalid_error.c
+++ /dev/null
@@ -1,16 +0,0 @@
-// Test CF+LF are properly handled along with quoted, multi-line #error
-// RUN: cat %s | unix2dos | %clang_cc1 -DOTHER -print-dependency-directives-minimized-source 2>&1 | FileCheck %s
-
-#ifndef TEST
-#error "message \
- more message \
- even more"
-#endif
-
-#ifdef OTHER
-#include <string>
-#endif
-
-// CHECK: #ifdef OTHER
-// CHECK-NEXT: #include <string>
-// CHECK-NEXT: #endif