aboutsummaryrefslogtreecommitdiff
path: root/lib/clang/12.0.0/include/iso646.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/clang/12.0.0/include/iso646.h')
-rw-r--r--lib/clang/12.0.0/include/iso646.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/lib/clang/12.0.0/include/iso646.h b/lib/clang/12.0.0/include/iso646.h
new file mode 100644
index 0000000..e0a20c6
--- /dev/null
+++ b/lib/clang/12.0.0/include/iso646.h
@@ -0,0 +1,27 @@
+/*===---- iso646.h - Standard header for alternate spellings of operators---===
+ *
+ * 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
+ *
+ *===-----------------------------------------------------------------------===
+ */
+
+#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 */