Skip to content

Commit

Permalink
[libc] Fix TWS issues in .td files
Browse files Browse the repository at this point in the history
Reviewed By: sivachandra

Differential Revision: https://reviews.llvm.org/D134256
  • Loading branch information
kaladron committed Sep 20, 2022
1 parent 6007a4a commit faeb237
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion libc/spec/posix.td
Expand Up @@ -383,7 +383,7 @@ def POSIX : StandardSpec<"POSIX"> {
>,
]
>;

HeaderSpec StdLib = HeaderSpec<
"stdlib.h",
[], // Macros
Expand Down
20 changes: 10 additions & 10 deletions libc/spec/stdc.td
Expand Up @@ -22,7 +22,7 @@ def StdC : StandardSpec<"stdc"> {
[], // Enumerations
[]
>;

HeaderSpec CType = HeaderSpec<
"ctype.h",
[], // Macros
Expand Down Expand Up @@ -188,7 +188,7 @@ def StdC : StandardSpec<"stdc"> {
>,
]
>;

HeaderSpec String = HeaderSpec<
"string.h",
[
Expand All @@ -201,7 +201,7 @@ def StdC : StandardSpec<"stdc"> {
[
FunctionSpec<
"memcpy",
RetValSpec<VoidPtr>,
RetValSpec<VoidPtr>,
[ArgSpec<VoidRestrictedPtr>,
ArgSpec<ConstVoidRestrictedPtr>,
ArgSpec<SizeTType>]
Expand All @@ -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<
Expand All @@ -265,7 +265,7 @@ def StdC : StandardSpec<"stdc"> {
>,
FunctionSpec<
"strxfrm",
RetValSpec<SizeTType>,
RetValSpec<SizeTType>,
[ArgSpec<CharRestrictedPtr>,
ArgSpec<ConstCharRestrictedPtr>,
ArgSpec<SizeTType>]
Expand Down Expand Up @@ -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>]>,
]
>;
Expand Down

0 comments on commit faeb237

Please sign in to comment.