]> git.proxmox.com Git - mirror_edk2.git/blame - StdLib/Include/iso646.h
ArmPlatformPkg/ArmVirtualizationPkg/PciHostBridgeDxe: Removed unreachable statement
[mirror_edk2.git] / StdLib / Include / iso646.h
CommitLineData
2aa62f2b 1/** @file\r
8379337c 2 Provides alternative "spellings" for several C operators.\r
2aa62f2b 3\r
8379337c 4 The header <iso646.h> defines the following eleven macros (on the left) that expand\r
5 to the corresponding tokens (on the right).\r
2aa62f2b 6\r
8379337c 7 Copyright (c) 2010 - 2011, Intel Corporation. All rights reserved.<BR>\r
8 This program and the accompanying materials are licensed and made available under\r
9 the terms and conditions of the BSD License that accompanies this distribution.\r
10 The full text of the license may be found at\r
11 http://opensource.org/licenses/bsd-license.\r
2aa62f2b 12\r
8379337c 13 THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
14 WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
2aa62f2b 15**/\r
16#ifndef _ISO646_H\r
17#define _ISO646_H\r
18#include <sys/EfiCdefs.h>\r
19\r
59d13433 20#define and && ///< Logical AND of two boolean expressions\r
21#define and_eq &= ///< Bitwise AND with assignment to lval\r
22#define bitand & ///< Bitwise AND of two scalar expressions\r
23#define bitor | ///< Bitwise OR of two scalar expressions\r
24#define compl ~ ///< Binary complement\r
25#define not ! ///< Logical complement of a boolean expression\r
26#define not_eq != ///< Not-equal comparison\r
27#define or || ///< Logical OR of two boolean expressions\r
28#define or_eq |= ///< Bitwise OR with assignment to lval\r
29#define xor ^ ///< Exclusive OR\r
30#define xor_eq ^= ///< Exclusive OR with assignment to lval\r
2aa62f2b 31\r
32#endif /* _ISO646_H */\r