diff options
Diffstat (limited to 'contrib/llvm-project/clang/lib/Headers/builtins.h')
-rw-r--r-- | contrib/llvm-project/clang/lib/Headers/builtins.h | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/contrib/llvm-project/clang/lib/Headers/builtins.h b/contrib/llvm-project/clang/lib/Headers/builtins.h new file mode 100644 index 000000000000..1e534e632c8e --- /dev/null +++ b/contrib/llvm-project/clang/lib/Headers/builtins.h @@ -0,0 +1,19 @@ +/*===---- 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 + +#if defined(__MVS__) && __has_include_next(<builtins.h>) +#include_next <builtins.h> +#endif /* __MVS__ */ +#endif /* __BUILTINS_H */ |