forked from OSchip/llvm-project
[libc] Fix TWS issues in .td files
Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D134256
This commit is contained in:
parent
6007a4a619
commit
faeb237bac
|
@ -383,7 +383,7 @@ def POSIX : StandardSpec<"POSIX"> {
|
|||
>,
|
||||
]
|
||||
>;
|
||||
|
||||
|
||||
HeaderSpec StdLib = HeaderSpec<
|
||||
"stdlib.h",
|
||||
[], // Macros
|
||||
|
|
|
@ -22,7 +22,7 @@ def StdC : StandardSpec<"stdc"> {
|
|||
[], // Enumerations
|
||||
[]
|
||||
>;
|
||||
|
||||
|
||||
HeaderSpec CType = HeaderSpec<
|
||||
"ctype.h",
|
||||
[], // Macros
|
||||
|
@ -188,7 +188,7 @@ def StdC : StandardSpec<"stdc"> {
|
|||
>,
|
||||
]
|
||||
>;
|
||||
|
||||
|
||||
HeaderSpec String = HeaderSpec<
|
||||
"string.h",
|
||||
[
|
||||
|
@ -201,7 +201,7 @@ def StdC : StandardSpec<"stdc"> {
|
|||
[
|
||||
FunctionSpec<
|
||||
"memcpy",
|
||||
RetValSpec<VoidPtr>,
|
||||
RetValSpec<VoidPtr>,
|
||||
[ArgSpec<VoidRestrictedPtr>,
|
||||
ArgSpec<ConstVoidRestrictedPtr>,
|
||||
ArgSpec<SizeTType>]
|
||||
|
@ -228,24 +228,24 @@ def StdC : StandardSpec<"stdc"> {
|
|||
>,
|
||||
FunctionSpec<
|
||||
"strcpy",
|
||||
RetValSpec<CharPtr>,
|
||||
RetValSpec<CharPtr>,
|
||||
[ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
|
||||
>,
|
||||
FunctionSpec<
|
||||
"strncpy",
|
||||
RetValSpec<CharPtr>,
|
||||
RetValSpec<CharPtr>,
|
||||
[ArgSpec<CharRestrictedPtr>,
|
||||
ArgSpec<ConstCharRestrictedPtr>,
|
||||
ArgSpec<SizeTType>]
|
||||
>,
|
||||
FunctionSpec<
|
||||
"strcat",
|
||||
RetValSpec<CharPtr>,
|
||||
RetValSpec<CharPtr>,
|
||||
[ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
|
||||
>,
|
||||
FunctionSpec<
|
||||
"strncat",
|
||||
RetValSpec<CharPtr>,
|
||||
RetValSpec<CharPtr>,
|
||||
[ArgSpec<CharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
|
||||
>,
|
||||
FunctionSpec<
|
||||
|
@ -265,7 +265,7 @@ def StdC : StandardSpec<"stdc"> {
|
|||
>,
|
||||
FunctionSpec<
|
||||
"strxfrm",
|
||||
RetValSpec<SizeTType>,
|
||||
RetValSpec<SizeTType>,
|
||||
[ArgSpec<CharRestrictedPtr>,
|
||||
ArgSpec<ConstCharRestrictedPtr>,
|
||||
ArgSpec<SizeTType>]
|
||||
|
@ -479,11 +479,11 @@ def StdC : StandardSpec<"stdc"> {
|
|||
FunctionSpec<"coshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
FunctionSpec<"sinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
FunctionSpec<"tanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
|
||||
|
||||
FunctionSpec<"acosf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
FunctionSpec<"asinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
FunctionSpec<"atanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
|
||||
|
||||
FunctionSpec<"atanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
|
||||
]
|
||||
>;
|
||||
|
|
Loading…
Reference in New Issue