diff options
author | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2018-01-04 22:58:30 +0000 |
---|---|---|
committer | Hubert Tong <hubert.reinterpretcast@gmail.com> | 2018-01-04 22:58:30 +0000 |
commit | 7d96b79194c019ab1030c6223c8458ef421889e4 (patch) | |
tree | b6a719284e8f20441fd76f79f58023e930b1dd52 /clang/lib/Lex/ModuleMap.cpp | |
parent | 8c432f2d5e6811ccf1c1d3883b87c0e7bb830aac (diff) | |
download | llvm-7d96b79194c019ab1030c6223c8458ef421889e4.zip llvm-7d96b79194c019ab1030c6223c8458ef421889e4.tar.gz llvm-7d96b79194c019ab1030c6223c8458ef421889e4.tar.bz2 |
Use backslash escape, replacing xargs -0 in test macro-multiline.c
Summary:
xargs supports escaping of newline characters with backslash.
xargs -0 is neither part of POSIX nor the LSB.
This patch removes the -0 option and adjusts the input to xargs
accordingly; that is, the input is a text file not ending in an
incomplete line, and the newline of interest is preceded by a backslash.
Note: The treatment of escaped newline characters is not as clearly
specified by POSIX as for escaped blank characters; however, the same
can be said for escaped backslashes. It is slightly more clear for the
case where the -I option is used; however, -I is also of limited
portability.
Reviewers: bruno
Reviewed By: bruno
Subscribers: bruno, rcraik, cfe-commits
Differential Revision: https://reviews.llvm.org/D41544
llvm-svn: 321828
Diffstat (limited to 'clang/lib/Lex/ModuleMap.cpp')
0 files changed, 0 insertions, 0 deletions