aboutsummaryrefslogtreecommitdiff
path: root/lib/include/builtins.h
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2021-08-15 18:00:10 -0700
committerAndrew Kelley <andrew@ziglang.org>2021-08-15 18:00:10 -0700
commit21606339af2712d94bb3cfdcc9050287c5a2134c (patch)
treed5df6035a82eb191bf6f2d92518c5250d31833d5 /lib/include/builtins.h
parent78ff2a148a707f041ab5e5cfdbb5f854bc66270e (diff)
downloadzig-21606339af2712d94bb3cfdcc9050287c5a2134c.tar.gz
zig-21606339af2712d94bb3cfdcc9050287c5a2134c.zip
update C header files to clang 13 rc1
Diffstat (limited to 'lib/include/builtins.h')
-rw-r--r--lib/include/builtins.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/lib/include/builtins.h b/lib/include/builtins.h
new file mode 100644
index 0000000000..65095861ca
--- /dev/null
+++ b/lib/include/builtins.h
@@ -0,0 +1,16 @@
+/*===---- builtins.h - Standard header for extra builtins -----------------===*\
+ *
+ * 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
+ *
+\*===----------------------------------------------------------------------===*/
+
+/// Some legacy compilers have builtin definitions in a file named builtins.h.
+/// This header file has been added to allow compatibility with code that was
+/// written for those compilers. Code may have an include line for this file
+/// and to avoid an error an empty file with this name is provided.
+#ifndef __BUILTINS_H
+#define __BUILTINS_H
+
+#endif /* __BUILTINS_H */