From faeb237bac7a303ab09135cf6c35505a85c18de7 Mon Sep 17 00:00:00 2001 From: Jeff Bailey Date: Tue, 20 Sep 2022 14:25:16 +0000 Subject: [PATCH] [libc] Fix TWS issues in .td files Reviewed By: sivachandra Differential Revision: https://reviews.llvm.org/D134256 --- libc/spec/posix.td | 2 +- libc/spec/stdc.td | 20 ++++++++++---------- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/libc/spec/posix.td b/libc/spec/posix.td index 1f3c10e..1980b09 100644 --- a/libc/spec/posix.td +++ b/libc/spec/posix.td @@ -383,7 +383,7 @@ def POSIX : StandardSpec<"POSIX"> { >, ] >; - + HeaderSpec StdLib = HeaderSpec< "stdlib.h", [], // Macros diff --git a/libc/spec/stdc.td b/libc/spec/stdc.td index 38d78a0..fbd3cfa 100644 --- a/libc/spec/stdc.td +++ b/libc/spec/stdc.td @@ -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, + RetValSpec, [ArgSpec, ArgSpec, ArgSpec] @@ -228,24 +228,24 @@ def StdC : StandardSpec<"stdc"> { >, FunctionSpec< "strcpy", - RetValSpec, + RetValSpec, [ArgSpec, ArgSpec] >, FunctionSpec< "strncpy", - RetValSpec, + RetValSpec, [ArgSpec, ArgSpec, ArgSpec] >, FunctionSpec< "strcat", - RetValSpec, + RetValSpec, [ArgSpec, ArgSpec] >, FunctionSpec< "strncat", - RetValSpec, + RetValSpec, [ArgSpec, ArgSpec, ArgSpec] >, FunctionSpec< @@ -265,7 +265,7 @@ def StdC : StandardSpec<"stdc"> { >, FunctionSpec< "strxfrm", - RetValSpec, + RetValSpec, [ArgSpec, ArgSpec, ArgSpec] @@ -479,11 +479,11 @@ def StdC : StandardSpec<"stdc"> { FunctionSpec<"coshf", RetValSpec, [ArgSpec]>, FunctionSpec<"sinhf", RetValSpec, [ArgSpec]>, FunctionSpec<"tanhf", RetValSpec, [ArgSpec]>, - + FunctionSpec<"acosf", RetValSpec, [ArgSpec]>, FunctionSpec<"asinf", RetValSpec, [ArgSpec]>, FunctionSpec<"atanf", RetValSpec, [ArgSpec]>, - + FunctionSpec<"atanhf", RetValSpec, [ArgSpec]>, ] >; -- 2.7.4