summaryrefslogtreecommitdiffstats
path: root/clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
diff options
context:
space:
mode:
authorKamil Rytarowski <n54@gmx.com>2017-07-12 13:24:46 +0000
committerKamil Rytarowski <n54@gmx.com>2017-07-12 13:24:46 +0000
commitcce21c1dfe9d7ca85cb0c3c6f534723afb95a857 (patch)
tree54fb1bbefae1b60b40e44a7f8085dc3f9eb9d918 /clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp
parent97cc28311742a57c982e6f91f39869d56278db67 (diff)
downloadbcm5719-llvm-cce21c1dfe9d7ca85cb0c3c6f534723afb95a857.tar.gz
bcm5719-llvm-cce21c1dfe9d7ca85cb0c3c6f534723afb95a857.zip
Make shell redirection construct portable
Summary: NetBSD shell sh(1) does not support ">& /dev/null" construct. This is bashism. The portable and POSIX solution is to use: "> /dev/null 2>&1". This change fixes 22 Unexpected Failures on NetBSD/amd64 for the "check-llvm" target. Sponsored by <The NetBSD Foundation> Reviewers: joerg, dim, rnk Reviewed By: joerg, rnk Subscribers: rnk, davide, llvm-commits Differential Revision: https://reviews.llvm.org/D35277 llvm-svn: 307789
Diffstat (limited to 'clang-tools-extra/clang-tidy/modernize/ModernizeTidyModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud