clang 20.0.0git
iso646.h
Go to the documentation of this file.
1/*===---- iso646.h - Standard header for alternate spellings of operators---===
2 *
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6 *
7 *===-----------------------------------------------------------------------===
8 */
9
10#ifndef __ISO646_H
11#define __ISO646_H
12#if defined(__MVS__) && __has_include_next(<iso646.h>)
13#include_next <iso646.h>
14#else
15
16#ifndef __cplusplus
17#define and &&
18#define and_eq &=
19#define bitand &
20#define bitor |
21#define compl ~
22#define not !
23#define not_eq !=
24#define or ||
25#define or_eq |=
26#define xor ^
27#define xor_eq ^=
28#endif
29
30#endif /* __MVS__ */
31#endif /* __ISO646_H */