llvm-project/libcxx/utils/libcxx
Zbigniew Sarbinowski 4d478121f3 [SystemZ][z/OS] exclude nasty_macros.h from check-cxx
Need to exclude nasty_macros.h from check-cxx on z/OS due to conflicts within system headers.

Sample failure in `random_shuffle.depr_in_cxx14.verify.cpp` libcxx test.
```
error: 'error' diagnostics seen but not expected:
Line 1268: expected ')'
Line 1268: unknown type name 'This'
Line 1268: expected ')'
```

caused by the following  macros in `nasty_macros.h`
```
#define NASTY_MACRO This should not be expanded!!!
#define _E NASTY_MACRO
```
The name collision is observed in the following code snippet whre `_E` is being used as parameter name:
```
inline int iswalnum(wint_t _E) {return __iswalnum(_E);}
```

It is reasonable to exclude `nasty_macros.h` on z/OS similarly as it was done on Windows.

Reviewed By: #libc, ldionne

Differential Revision: https://reviews.llvm.org/D99378
2021-03-26 15:08:37 +00:00
..
sym_check [libc++/libc++abi] Use Python3_EXECUTABLE consistently to run utilities 2020-11-02 11:07:31 -05:00
test [SystemZ][z/OS] exclude nasty_macros.h from check-cxx 2021-03-26 15:08:37 +00:00
__init__.py Update more file headers across all of the LLVM projects in the monorepo 2019-01-19 10:56:40 +00:00
compiler.py [libc++/abi] Allow running back-deployment testing against libc++abi 2021-03-01 12:13:03 -05:00
util.py [libc++] Add utility to generate and display libc++'s header dependency 2020-02-15 18:47:17 -05:00