aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Tooling/Syntax/BuildTree.cpp
diff options
context:
space:
mode:
authorKai Nacke <kai.nacke@de.ibm.com>2020-05-20 11:10:31 +0200
committerKai Nacke <kai@redstar.de>2020-08-26 12:44:30 -0400
commited07e1fe0ffdb2c1dbff26ff4cf7558e0c419737 (patch)
tree4dc33ce94c7836464c127827d24e2e8b0f7da048 /clang/lib/Tooling/Syntax/BuildTree.cpp
parent2392ff093af128d5e46ce31e2ffa0b3e17185e32 (diff)
downloadllvm-ed07e1fe0ffdb2c1dbff26ff4cf7558e0c419737.zip
llvm-ed07e1fe0ffdb2c1dbff26ff4cf7558e0c419737.tar.gz
llvm-ed07e1fe0ffdb2c1dbff26ff4cf7558e0c419737.tar.bz2
[SystemZ/ZOS] Add header file to encapsulate use of <sysexits.h>
The non-standard header file `<sysexits.h>` provides some return values. `EX_IOERR` is used to as a special value to signal a broken pipe to the clang driver. On z/OS Unix System Services, this header file does not exists. This patch - adds a check for `<sysexits.h>`, removing the dependency on `LLVM_ON_UNIX` - adds a new header file `llvm/Support/ExitCodes`, which either includes `<sysexits.h>` or defines `EX_IOERR` - updates the users of `EX_IOERR` to include the new header file Reviewed By: hubert.reinterpretcast Differential Revision: https://reviews.llvm.org/D83472
Diffstat (limited to 'clang/lib/Tooling/Syntax/BuildTree.cpp')
0 files changed, 0 insertions, 0 deletions