[libc] Fix TWS issues in .td files

Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D134256
This commit is contained in:
Jeff Bailey 2022-09-20 14:25:16 +00:00
parent 6007a4a619
commit faeb237bac
2 changed files with 11 additions and 11 deletions

View File

@ -383,7 +383,7 @@ def POSIX : StandardSpec<"POSIX"> {
>, >,
] ]
>; >;
HeaderSpec StdLib = HeaderSpec< HeaderSpec StdLib = HeaderSpec<
"stdlib.h", "stdlib.h",
[], // Macros [], // Macros

View File

@ -22,7 +22,7 @@ def StdC : StandardSpec<"stdc"> {
[], // Enumerations [], // Enumerations
[] []
>; >;
HeaderSpec CType = HeaderSpec< HeaderSpec CType = HeaderSpec<
"ctype.h", "ctype.h",
[], // Macros [], // Macros
@ -188,7 +188,7 @@ def StdC : StandardSpec<"stdc"> {
>, >,
] ]
>; >;
HeaderSpec String = HeaderSpec< HeaderSpec String = HeaderSpec<
"string.h", "string.h",
[ [
@ -201,7 +201,7 @@ def StdC : StandardSpec<"stdc"> {
[ [
FunctionSpec< FunctionSpec<
"memcpy", "memcpy",
RetValSpec<VoidPtr>, RetValSpec<VoidPtr>,
[ArgSpec<VoidRestrictedPtr>, [ArgSpec<VoidRestrictedPtr>,
ArgSpec<ConstVoidRestrictedPtr>, ArgSpec<ConstVoidRestrictedPtr>,
ArgSpec<SizeTType>] ArgSpec<SizeTType>]
@ -228,24 +228,24 @@ def StdC : StandardSpec<"stdc"> {
>, >,
FunctionSpec< FunctionSpec<
"strcpy", "strcpy",
RetValSpec<CharPtr>, RetValSpec<CharPtr>,
[ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>] [ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
>, >,
FunctionSpec< FunctionSpec<
"strncpy", "strncpy",
RetValSpec<CharPtr>, RetValSpec<CharPtr>,
[ArgSpec<CharRestrictedPtr>, [ArgSpec<CharRestrictedPtr>,
ArgSpec<ConstCharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>,
ArgSpec<SizeTType>] ArgSpec<SizeTType>]
>, >,
FunctionSpec< FunctionSpec<
"strcat", "strcat",
RetValSpec<CharPtr>, RetValSpec<CharPtr>,
[ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>] [ArgSpec<CharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>]
>, >,
FunctionSpec< FunctionSpec<
"strncat", "strncat",
RetValSpec<CharPtr>, RetValSpec<CharPtr>,
[ArgSpec<CharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>] [ArgSpec<CharPtr>, ArgSpec<ConstCharPtr>, ArgSpec<SizeTType>]
>, >,
FunctionSpec< FunctionSpec<
@ -265,7 +265,7 @@ def StdC : StandardSpec<"stdc"> {
>, >,
FunctionSpec< FunctionSpec<
"strxfrm", "strxfrm",
RetValSpec<SizeTType>, RetValSpec<SizeTType>,
[ArgSpec<CharRestrictedPtr>, [ArgSpec<CharRestrictedPtr>,
ArgSpec<ConstCharRestrictedPtr>, ArgSpec<ConstCharRestrictedPtr>,
ArgSpec<SizeTType>] ArgSpec<SizeTType>]
@ -479,11 +479,11 @@ def StdC : StandardSpec<"stdc"> {
FunctionSpec<"coshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"coshf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"sinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"sinhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"tanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"tanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"acosf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"acosf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"asinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"asinf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"atanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"atanf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
FunctionSpec<"atanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>, FunctionSpec<"atanhf", RetValSpec<FloatType>, [ArgSpec<FloatType>]>,
] ]
>; >;