xref: /freebsd/contrib/llvm-project/clang/lib/Headers/builtins.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
1fe6060f1SDimitry Andric /*===---- builtins.h - Standard header for extra builtins -----------------===*\
2fe6060f1SDimitry Andric  *
3fe6060f1SDimitry Andric  * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4fe6060f1SDimitry Andric  * See https://llvm.org/LICENSE.txt for license information.
5fe6060f1SDimitry Andric  * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6fe6060f1SDimitry Andric  *
7fe6060f1SDimitry Andric \*===----------------------------------------------------------------------===*/
8fe6060f1SDimitry Andric 
9fe6060f1SDimitry Andric /// Some legacy compilers have builtin definitions in a file named builtins.h.
10fe6060f1SDimitry Andric /// This header file has been added to allow compatibility with code that was
11fe6060f1SDimitry Andric /// written for those compilers. Code may have an include line for this file
12fe6060f1SDimitry Andric /// and to avoid an error an empty file with this name is provided.
13fe6060f1SDimitry Andric #ifndef __BUILTINS_H
14fe6060f1SDimitry Andric #define __BUILTINS_H
15fe6060f1SDimitry Andric 
16*0fca6ea1SDimitry Andric #if defined(__MVS__) && __has_include_next(<builtins.h>)
17*0fca6ea1SDimitry Andric #include_next <builtins.h>
18*0fca6ea1SDimitry Andric #endif /* __MVS__ */
19fe6060f1SDimitry Andric #endif /* __BUILTINS_H */
20