blob: e0a20c6f1891b264c3ae7e116723bceea18919c1 [file] [log] [blame]
Logan Chiendf4f7662019-09-04 16:45:23 -07001/*===---- 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
13#ifndef __cplusplus
14#define and &&
15#define and_eq &=
16#define bitand &
17#define bitor |
18#define compl ~
19#define not !
20#define not_eq !=
21#define or ||
22#define or_eq |=
23#define xor ^
24#define xor_eq ^=
25#endif
26
27#endif /* __ISO646_H */