Home | History | Annotate | Line # | Download | only in Headers
      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 
     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 */
     28