[AMDGPU][AsmParser][NFC] Get rid of custom default operand handlers.
[llvm-project.git] / clang / lib / Headers / iso646.h
blobe0a20c6f1891b264c3ae7e116723bceea18919c1
1 /*===---- iso646.h - Standard header for alternate spellings of operators---===
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
7 *===-----------------------------------------------------------------------===
8 */
10 #ifndef __ISO646_H
11 #define __ISO646_H
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
27 #endif /* __ISO646_H */