1193326Sed/*===---- iso646.h - Standard header for alternate spellings of operators---===
2193326Sed *
3353358Sdim * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4353358Sdim * See https://llvm.org/LICENSE.txt for license information.
5353358Sdim * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6193326Sed *
7193326Sed *===-----------------------------------------------------------------------===
8193326Sed */
9193326Sed
10193326Sed#ifndef __ISO646_H
11193326Sed#define __ISO646_H
12193326Sed
13193326Sed#ifndef __cplusplus
14193326Sed#define and    &&
15193326Sed#define and_eq &=
16193326Sed#define bitand &
17193326Sed#define bitor  |
18193326Sed#define compl  ~
19193326Sed#define not    !
20193326Sed#define not_eq !=
21193326Sed#define or     ||
22193326Sed#define or_eq  |=
23193326Sed#define xor    ^
24193326Sed#define xor_eq ^=
25193326Sed#endif
26193326Sed
27193326Sed#endif /* __ISO646_H */
28