diff options
author | Wim <wim@42.be> | 2022-08-13 16:14:26 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-13 16:14:26 +0200 |
commit | 6a3fc713978a0c1c9290a4afd08b47886b49b635 (patch) | |
tree | aa62cd85cf5671646c75ee38b3fc140ef7edcea8 /vendor/modernc.org/libc/langinfo | |
parent | 3c4192ebf6a32e30cdd23a9644c2ceca72a006fa (diff) | |
download | matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.gz matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.tar.bz2 matterbridge-msglm-6a3fc713978a0c1c9290a4afd08b47886b49b635.zip |
Update dependencies and go1.18 (#1873)
* Update dependencies and go1.18
* Exclude unnecessary linters and update build to go1.18
Diffstat (limited to 'vendor/modernc.org/libc/langinfo')
4 files changed, 112 insertions, 98 deletions
diff --git a/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go b/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go index b6c9d135..a7a9ae84 100644 --- a/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go +++ b/vendor/modernc.org/libc/langinfo/capi_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. package langinfo diff --git a/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go b/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go index 27a2c4be..f9c787ba 100644 --- a/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go +++ b/vendor/modernc.org/libc/langinfo/capi_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path -export-defines -export-enums -export-externs X -export-fields F -export-structs -export-typedefs -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. package langinfo diff --git a/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go b/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go index 43d6fcac..be506473 100644 --- a/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go +++ b/vendor/modernc.org/libc/langinfo/langinfo_darwin_arm64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_darwin_arm64.go -pkgname langinfo', DO NOT EDIT. package langinfo @@ -15,82 +15,82 @@ var _ atomic.Value var _ unsafe.Pointer const ( - ABDAY_1 = 14 - ABDAY_2 = 15 - ABDAY_3 = 16 - ABDAY_4 = 17 - ABDAY_5 = 18 - ABDAY_6 = 19 - ABDAY_7 = 20 - ABMON_1 = 33 - ABMON_10 = 42 - ABMON_11 = 43 - ABMON_12 = 44 - ABMON_2 = 34 - ABMON_3 = 35 - ABMON_4 = 36 - ABMON_5 = 37 - ABMON_6 = 38 - ABMON_7 = 39 - ABMON_8 = 40 - ABMON_9 = 41 - ALT_DIGITS = 49 - AM_STR = 5 - CODESET = 0 - CRNCYSTR = 56 - DAY_1 = 7 - DAY_2 = 8 - DAY_3 = 9 - DAY_4 = 10 - DAY_5 = 11 - DAY_6 = 12 - DAY_7 = 13 - D_FMT = 2 - D_MD_ORDER = 57 - D_T_FMT = 1 - ERA = 45 - ERA_D_FMT = 46 - ERA_D_T_FMT = 47 - ERA_T_FMT = 48 - MON_1 = 21 - MON_10 = 30 - MON_11 = 31 - MON_12 = 32 - MON_2 = 22 - MON_3 = 23 - MON_4 = 24 - MON_5 = 25 - MON_6 = 26 - MON_7 = 27 - MON_8 = 28 - MON_9 = 29 - NOEXPR = 53 - NOSTR = 55 - PM_STR = 6 - RADIXCHAR = 50 - THOUSEP = 51 - T_FMT = 3 - T_FMT_AMPM = 4 - YESEXPR = 52 - YESSTR = 54 - X_BSD_ARM__TYPES_H_ = 0 - X_BSD_MACHINE__TYPES_H_ = 0 - X_CDEFS_H_ = 0 - X_DARWIN_FEATURE_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 - X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 - X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 - X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 - X_FILE_OFFSET_BITS = 64 - X_FORTIFY_SOURCE = 2 - X_LANGINFO_H_ = 0 - X_LP64 = 1 - X_NL_ITEM = 0 - X_Nonnull = 0 - X_Null_unspecified = 0 - X_Nullable = 0 - X_SYS__PTHREAD_TYPES_H_ = 0 - X_SYS__TYPES_H_ = 0 + ABDAY_1 = 14 // langinfo.h:53:1: + ABDAY_2 = 15 // langinfo.h:54:1: + ABDAY_3 = 16 // langinfo.h:55:1: + ABDAY_4 = 17 // langinfo.h:56:1: + ABDAY_5 = 18 // langinfo.h:57:1: + ABDAY_6 = 19 // langinfo.h:58:1: + ABDAY_7 = 20 // langinfo.h:59:1: + ABMON_1 = 33 // langinfo.h:76:1: + ABMON_10 = 42 // langinfo.h:85:1: + ABMON_11 = 43 // langinfo.h:86:1: + ABMON_12 = 44 // langinfo.h:87:1: + ABMON_2 = 34 // langinfo.h:77:1: + ABMON_3 = 35 // langinfo.h:78:1: + ABMON_4 = 36 // langinfo.h:79:1: + ABMON_5 = 37 // langinfo.h:80:1: + ABMON_6 = 38 // langinfo.h:81:1: + ABMON_7 = 39 // langinfo.h:82:1: + ABMON_8 = 40 // langinfo.h:83:1: + ABMON_9 = 41 // langinfo.h:84:1: + ALT_DIGITS = 49 // langinfo.h:93:1: + AM_STR = 5 // langinfo.h:40:1: + CODESET = 0 // langinfo.h:35:1: + CRNCYSTR = 56 // langinfo.h:106:1: + DAY_1 = 7 // langinfo.h:44:1: + DAY_2 = 8 // langinfo.h:45:1: + DAY_3 = 9 // langinfo.h:46:1: + DAY_4 = 10 // langinfo.h:47:1: + DAY_5 = 11 // langinfo.h:48:1: + DAY_6 = 12 // langinfo.h:49:1: + DAY_7 = 13 // langinfo.h:50:1: + D_FMT = 2 // langinfo.h:37:1: + D_MD_ORDER = 57 // langinfo.h:109:1: + D_T_FMT = 1 // langinfo.h:36:1: + ERA = 45 // langinfo.h:89:1: + ERA_D_FMT = 46 // langinfo.h:90:1: + ERA_D_T_FMT = 47 // langinfo.h:91:1: + ERA_T_FMT = 48 // langinfo.h:92:1: + MON_1 = 21 // langinfo.h:62:1: + MON_10 = 30 // langinfo.h:71:1: + MON_11 = 31 // langinfo.h:72:1: + MON_12 = 32 // langinfo.h:73:1: + MON_2 = 22 // langinfo.h:63:1: + MON_3 = 23 // langinfo.h:64:1: + MON_4 = 24 // langinfo.h:65:1: + MON_5 = 25 // langinfo.h:66:1: + MON_6 = 26 // langinfo.h:67:1: + MON_7 = 27 // langinfo.h:68:1: + MON_8 = 28 // langinfo.h:69:1: + MON_9 = 29 // langinfo.h:70:1: + NOEXPR = 53 // langinfo.h:99:1: + NOSTR = 55 // langinfo.h:103:1: + PM_STR = 6 // langinfo.h:41:1: + RADIXCHAR = 50 // langinfo.h:95:1: + THOUSEP = 51 // langinfo.h:96:1: + T_FMT = 3 // langinfo.h:38:1: + T_FMT_AMPM = 4 // langinfo.h:39:1: + YESEXPR = 52 // langinfo.h:98:1: + YESSTR = 54 // langinfo.h:102:1: + X_BSD_ARM__TYPES_H_ = 0 // _types.h:5:1: + X_BSD_MACHINE__TYPES_H_ = 0 // _types.h:29:1: + X_CDEFS_H_ = 0 // cdefs.h:68:1: + X_DARWIN_FEATURE_64_BIT_INODE = 1 // cdefs.h:774:1: + X_DARWIN_FEATURE_ONLY_64_BIT_INODE = 1 // cdefs.h:784:1: + X_DARWIN_FEATURE_ONLY_UNIX_CONFORMANCE = 1 // cdefs.h:800:1: + X_DARWIN_FEATURE_ONLY_VERS_1050 = 1 // cdefs.h:792:1: + X_DARWIN_FEATURE_UNIX_CONFORMANCE = 3 // cdefs.h:808:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_FORTIFY_SOURCE = 2 // _types.h:65:1: + X_LANGINFO_H_ = 0 // langinfo.h:30:1: + X_LP64 = 1 // <predefined>:1:1: + X_NL_ITEM = 0 // _nl_item.h:30:1: + X_Nonnull = 0 // cdefs.h:268:1: + X_Null_unspecified = 0 // cdefs.h:271:1: + X_Nullable = 0 // cdefs.h:265:1: + X_SYS__PTHREAD_TYPES_H_ = 0 // _pthread_types.h:30:1: + X_SYS__TYPES_H_ = 0 // _types.h:30:1: ) type Ptrdiff_t = int64 /* <builtin>:3:26 */ @@ -550,6 +550,20 @@ var X__darwin_check_fd_set_overflow uintptr /* <builtin>:146:5: */ // __XNU_PRIVATE_EXTERN is a linkage decoration indicating that a symbol can be // used from other compilation units, but not other libraries or executables. +// We intentionally define to nothing pointer attributes which do not have an +// impact on the ABI. __indexable and __bidi_indexable are not defined because +// of the ABI incompatibility that makes the diagnostic preferable. + +// Similarly, we intentionally define to nothing the +// __ptrcheck_abi_assume_single and __ptrcheck_abi_assume_unsafe_indexable +// macros because they do not lead to an ABI incompatibility. However, we do not +// define the indexable and unsafe_indexable ones because the diagnostic is +// better than the silent ABI break. + +// __unsafe_forge intrinsics are defined as regular C casts. + +// decay operates normally; attribute is meaningless without pointer checks. + // Architecture validation for current SDK // Similar to OS_ENUM/OS_CLOSED_ENUM/OS_OPTIONS/OS_CLOSED_OPTIONS diff --git a/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go b/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go index a368a0d4..dee83b91 100644 --- a/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go +++ b/vendor/modernc.org/libc/langinfo/langinfo_linux_amd64.go @@ -1,4 +1,4 @@ -// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. +// Code generated by 'ccgo langinfo/gen.c -crt-import-path "" -export-defines "" -export-enums "" -export-externs X -export-fields F -export-structs "" -export-typedefs "" -header -hide _OSSwapInt16,_OSSwapInt32,_OSSwapInt64 -ignore-unsupported-alignment -o langinfo/langinfo_linux_amd64.go -pkgname langinfo', DO NOT EDIT. package langinfo @@ -15,24 +15,24 @@ var _ atomic.Value var _ unsafe.Pointer const ( - NL_CAT_LOCALE = 1 - NL_SETD = 1 - X_ATFILE_SOURCE = 1 - X_BITS_LOCALE_H = 1 - X_BITS_TYPES_LOCALE_T_H = 1 - X_BITS_TYPES___LOCALE_T_H = 1 - X_DEFAULT_SOURCE = 1 - X_FEATURES_H = 1 - X_FILE_OFFSET_BITS = 64 - X_LANGINFO_H = 1 - X_LP64 = 1 - X_NL_TYPES_H = 1 - X_POSIX_C_SOURCE = 200809 - X_POSIX_SOURCE = 1 - X_STDC_PREDEF_H = 1 - X_SYS_CDEFS_H = 1 - Linux = 1 - Unix = 1 + NL_CAT_LOCALE = 1 // nl_types.h:27:1: + NL_SETD = 1 // nl_types.h:24:1: + X_ATFILE_SOURCE = 1 // features.h:342:1: + X_BITS_LOCALE_H = 1 // locale.h:24:1: + X_BITS_TYPES_LOCALE_T_H = 1 // locale_t.h:20:1: + X_BITS_TYPES___LOCALE_T_H = 1 // __locale_t.h:21:1: + X_DEFAULT_SOURCE = 1 // features.h:227:1: + X_FEATURES_H = 1 // features.h:19:1: + X_FILE_OFFSET_BITS = 64 // <builtin>:25:1: + X_LANGINFO_H = 1 // langinfo.h:20:1: + X_LP64 = 1 // <predefined>:284:1: + X_NL_TYPES_H = 1 // nl_types.h:19:1: + X_POSIX_C_SOURCE = 200809 // features.h:281:1: + X_POSIX_SOURCE = 1 // features.h:279:1: + X_STDC_PREDEF_H = 1 // <predefined>:162:1: + X_SYS_CDEFS_H = 1 // cdefs.h:19:1: + Linux = 1 // <predefined>:231:1: + Unix = 1 // <predefined>:177:1: ) // Definition of locale category symbol values. |