2015-12-09 00:51:59 +00:00
|
|
|
/*===---- iso646.h - Standard header for alternate spellings of operators---===
|
|
|
|
*
|
2019-07-19 21:50:45 +01:00
|
|
|
* Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
|
|
|
|
* See https://llvm.org/LICENSE.txt for license information.
|
|
|
|
* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
|
2015-12-09 00:51:59 +00:00
|
|
|
*
|
|
|
|
*===-----------------------------------------------------------------------===
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __ISO646_H
|
|
|
|
#define __ISO646_H
|
|
|
|
|
|
|
|
#ifndef __cplusplus
|
|
|
|
#define and &&
|
|
|
|
#define and_eq &=
|
|
|
|
#define bitand &
|
|
|
|
#define bitor |
|
|
|
|
#define compl ~
|
|
|
|
#define not !
|
|
|
|
#define not_eq !=
|
|
|
|
#define or ||
|
|
|
|
#define or_eq |=
|
|
|
|
#define xor ^
|
|
|
|
#define xor_eq ^=
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif /* __ISO646_H */
|