[PATCH] D41544: Use backslash escape, replacing xargs -0 in test macro-multiline.c
Hubert Tong via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 4 14:59:38 PST 2018
This revision was automatically updated to reflect the committed changes.
Closed by commit rC321828: Use backslash escape, replacing xargs -0 in test macro-multiline.c (authored by hubert.reinterpretcast, committed by ).
Changed prior to commit:
https://reviews.llvm.org/D41544?vs=128034&id=128658#toc
Repository:
rC Clang
https://reviews.llvm.org/D41544
Files:
test/Preprocessor/macro-multiline.c
Index: test/Preprocessor/macro-multiline.c
===================================================================
--- test/Preprocessor/macro-multiline.c
+++ test/Preprocessor/macro-multiline.c
@@ -1,4 +1,4 @@
-// RUN: printf -- "-DX=A\nTHIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT" | xargs -0 %clang -E %s | FileCheck -strict-whitespace %s
+// RUN: printf -- "-DX=A\\\\\nTHIS_SHOULD_NOT_EXIST_IN_THE_OUTPUT\n" | xargs %clang -E %s | FileCheck -strict-whitespace %s
// Per GCC -D semantics, \n and anything that follows is ignored.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41544.128658.patch
Type: text/x-patch
Size: 525 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180104/7f11fb22/attachment.bin>
More information about the cfe-commits
mailing list