[libc-commits] [PATCH] D134256: [libc] Fix TWS issues in .td files
Jeff Bailey via Phabricator via libc-commits
libc-commits at lists.llvm.org
Mon Sep 19 23:03:48 PDT 2022
jeffbailey created this revision.
Herald added subscribers: libc-commits, ecnelises, tschuett.
Herald added projects: libc-project, All.
jeffbailey requested review of this revision.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D134256
Files:
libc/spec/posix.td
libc/spec/stdc.td
Index: libc/spec/stdc.td
===================================================================
--- libc/spec/stdc.td
+++ libc/spec/stdc.td
@@ -22,7 +22,7 @@
[], // Enumerations
[]
>;
-
+
HeaderSpec CType = HeaderSpec<
"ctype.h",
[], // Macros
@@ -188,7 +188,7 @@
>,
]
>;
-
+
HeaderSpec String = HeaderSpec<
"string.h",
[
@@ -201,7 +201,7 @@
[
FunctionSpec<
"memcpy",
- RetValSpec<VoidPtr>,
+ RetValSpec<VoidPtr>,
[ArgSpec<VoidRestrictedPtr>,
ArgSpec<ConstVoidRestrictedPtr>,
ArgSpec<SizeTType>]
@@ -228,24 +228,24 @@
>,
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 @@
>,
FunctionSpec<
"strxfrm",
- RetValSpec<SizeTType>,
+ RetValSpec<SizeTType>,
[ArgSpec<CharRestrictedPtr>,
ArgSpec<ConstCharRestrictedPtr>,
ArgSpec<SizeTType>]
@@ -479,11 +479,11 @@
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>]>,
]
>;
Index: libc/spec/posix.td
===================================================================
--- libc/spec/posix.td
+++ libc/spec/posix.td
@@ -383,7 +383,7 @@
>,
]
>;
-
+
HeaderSpec StdLib = HeaderSpec<
"stdlib.h",
[], // Macros
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D134256.461473.patch
Type: text/x-patch
Size: 2818 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libc-commits/attachments/20220920/f44461d3/attachment.bin>
More information about the libc-commits
mailing list