You've already forked llvm-project
mirror of
https://github.com/encounter/llvm-project.git
synced 2026-03-30 11:27:19 -07:00
5a9630b777
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D84469
34 lines
691 B
TableGen
34 lines
691 B
TableGen
def GnuExtensions : StandardSpec<"GNUExtensions"> {
|
|
HeaderSpec Math = HeaderSpec<
|
|
"math.h",
|
|
[], // Macros
|
|
[], // Types
|
|
[], // Enumerations
|
|
[
|
|
FunctionSpec<
|
|
"sincosf",
|
|
RetValSpec<VoidType>,
|
|
[ArgSpec<FloatType>, ArgSpec<FloatPtr>, ArgSpec<FloatPtr>]
|
|
>,
|
|
]
|
|
>;
|
|
|
|
HeaderSpec String = HeaderSpec<
|
|
"string.h",
|
|
[], // Macros
|
|
[], // Types
|
|
[], // Enumerations
|
|
[
|
|
FunctionSpec<
|
|
"memrchr",
|
|
RetValSpec<VoidPtr>,
|
|
[ArgSpec<VoidPtr>, ArgSpec<IntType>, ArgSpec<SizeTType>]
|
|
>,
|
|
]
|
|
>;
|
|
|
|
let Headers = [
|
|
Math, String,
|
|
];
|
|
}
|