[libc-commits] [libc] c8ba411 - Revert "combined string and time functions"

Nick Desaulniers via libc-commits libc-commits at lists.llvm.org
Fri Jun 21 11:29:38 PDT 2024


Author: Nick Desaulniers
Date: 2024-06-21T11:29:08-07:00
New Revision: c8ba4119acffa518355acc751233849b3e9e0712

URL: https://github.com/llvm/llvm-project/commit/c8ba4119acffa518355acc751233849b3e9e0712
DIFF: https://github.com/llvm/llvm-project/commit/c8ba4119acffa518355acc751233849b3e9e0712.diff

LOG: Revert "combined string and time functions"

This reverts commit f333fc5c9732a5b64ae0bca09ade6f0036e80c40.

Accidentally pushed, sorry!

Added: 
    

Modified: 
    

Removed: 
    libc/spec/stdc_assert.yaml
    libc/spec/stdc_ctype.yaml
    libc/spec/stdc_string.yaml


################################################################################
diff  --git a/libc/spec/stdc_assert.yaml b/libc/spec/stdc_assert.yaml
deleted file mode 100644
index d0fe3c1684fcc..0000000000000
--- a/libc/spec/stdc_assert.yaml
+++ /dev/null
@@ -1,7 +0,0 @@
-header: "assert.h"
-macros:
-  - name: static_assert
-  - name: assert
-types: []
-enums: []
-functions: []
\ No newline at end of file

diff  --git a/libc/spec/stdc_ctype.yaml b/libc/spec/stdc_ctype.yaml
deleted file mode 100644
index 19c00097b7331..0000000000000
--- a/libc/spec/stdc_ctype.yaml
+++ /dev/null
@@ -1,61 +0,0 @@
-header: "ctype.h"
-macros: []
-types: []
-enums: []
-functions:
-  - name: isalnum
-    return_type: int
-    arguments:
-      - type: int
-  - name: isalpha
-    return_type: int
-    arguments:
-      - type: int
-  - name: isblank
-    return_type: int
-    arguments:
-      - type: int
-  - name: iscntrl
-    return_type: int
-    arguments:
-      - type: int
-  - name: isdigit
-    return_type: int
-    arguments:
-      - type: int
-  - name: isgraph
-    return_type: int
-    arguments:
-      - type: int
-  - name: islower
-    return_type: int
-    arguments:
-      - type: int
-  - name: isprint
-    return_type: int
-    arguments:
-      - type: int
-  - name: ispunct
-    return_type: int
-    arguments:
-      - type: int
-  - name: isspace
-    return_type: int
-    arguments:
-      - type: int
-  - name: isupper
-    return_type: int
-    arguments:
-      - type: int
-  - name: isxdigit
-    return_type: int
-    arguments:
-      - type: int
-  - name: tolower
-    return_type: int
-    arguments:
-      - type: int
-  - name: toupper
-    return_type: int
-    arguments:
-      - type: int
\ No newline at end of file

diff  --git a/libc/spec/stdc_string.yaml b/libc/spec/stdc_string.yaml
deleted file mode 100644
index 2558e6f4a94f1..0000000000000
--- a/libc/spec/stdc_string.yaml
+++ /dev/null
@@ -1,139 +0,0 @@
-header: "string.h"
-macros:
-  - name: NULL #this might cause an issue due to YAML syntax
-types:
-  - SizeTType
-enums: []
-functions:
-  - name: memcpy
-    return_type: void *
-    arguments:
-      - type: void *__restrict
-      - type: const void *__restrict
-      - type: size_t
-  - name: memmove
-    return_type: void *
-    arguments:
-      - type: void *
-      - type: const void *
-      - type: size_t
-  - name: memcmp
-    return_type: int
-    arguments:
-      - type: const void *
-      - type: const void *
-      - type: size_t
-  - name: memchr
-    return_type: void *
-    arguments:
-      - type: const void *
-      - type: int
-      - type: size_t
-  - name: memset
-    return_type: void *
-    arguments:
-      - type: void *
-      - type: int
-      - type: size_t
-  - name: memset_explicit
-    return_type: void *
-    arguments:
-      - type: void *
-      - type: int
-      - type: size_t
-  - name: strcpy
-    return_type: char
-    arguments:
-      - type: char *__restrict
-      - type: const char *__restrict
-  - name: strncpy
-    return_type: char *
-    arguments:
-      - type: char *__restrict
-      - type: const char *__restrict
-      - type: size_t
-  - name: strcat
-    return_type: char *
-    arguments:
-      - type: char *__restrict
-      - type: const char *__restrict
-  - name: strncat
-    return_type: char *
-    arguments:
-        - type: char *
-        - type: const char *
-        - type: size_t
-  - name: strcmp
-    return_type: int
-    arguments:
-      - type: const char *
-      - type: const char *
-  - name: strcoll
-    return_type: int
-    arguments:
-      - type: const char *
-      - type: const char *
-  - name: strncmp
-    return_type: int
-    arguments:
-      - type: const char *
-      - type: const char *
-      - type: size_t
-  - name: strxfrm
-    return_type: size_t
-    arguments:
-      - type: char *__restrict
-      - type: const char *__restrict
-      - type: size_t
-  - name: strchr
-    return_type: char *
-    arguments:
-      - type: const char *
-      - type: int
-  - name: strcspn
-    return_type: size_t
-    arguments:
-      - type: const char *
-      - type: const char *
-  - name: strdup
-    return_type: char *
-    arguments:
-      - type: const char *
-  - name: strndup
-    return_type: char *
-    arguments:
-      - type: const char *
-      - type: size_t
-  - name: strpbrk
-    return_type: char *
-    arguments:
-      - type: const char *
-      - type: const char *
-  - name: strrchr
-    return_type: char *
-    arguments:
-      - type: const char *
-      - type: int
-  - name: strspn
-    return_type: size_t
-    arguments:
-      - type: const char *
-      - type: const char *
-  - name: strstr
-    return_type: char *
-    arguments:
-      - type: const char *
-      - type: const char *
-  - name: strtok
-    return_type: char *
-    arguments:
-      - type: char *__restrict
-      - type: const char *__restrict
-  - name: strerror
-    return_type: char *
-    arguments:
-      - type: int
-  - name: strlen
-    return_type: size_t
-    arguments:
-      - const char *
\ No newline at end of file


        


More information about the libc-commits mailing list