@@ -499,9 +499,8 @@ typedef __UINTMAX_TYPE__ uintmax_t;
499499# define INT64_MAX INT64_C( 9223372036854775807)
500500# define INT64_MIN (-INT64_C( 9223372036854775807)-1)
501501# define UINT64_MAX UINT64_C(18446744073709551615)
502- /* FIXME: This is using the placeholder dates Clang produces for these macros
503- in C2x mode; switch to the correct values once they've been published. */
504- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
502+
503+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
505504# define UINT64_WIDTH 64
506505# define INT64_WIDTH UINT64_WIDTH
507506
@@ -545,9 +544,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
545544# define INT_FAST64_MAX __INT_LEAST64_MAX
546545# define UINT_FAST64_MAX __UINT_LEAST64_MAX
547546
548- /* FIXME: This is using the placeholder dates Clang produces for these macros
549- in C2x mode; switch to the correct values once they've been published. */
550- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
547+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
551548# define UINT_LEAST64_WIDTH __UINT_LEAST64_WIDTH
552549# define INT_LEAST64_WIDTH UINT_LEAST64_WIDTH
553550# define UINT_FAST64_WIDTH __UINT_LEAST64_WIDTH
@@ -586,9 +583,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
586583# undef __UINT_LEAST8_MAX
587584# define __UINT_LEAST8_MAX UINT56_MAX
588585
589- /* FIXME: This is using the placeholder dates Clang produces for these macros
590- in C2x mode; switch to the correct values once they've been published. */
591- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
586+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
592587# define UINT56_WIDTH 56
593588# define INT56_WIDTH UINT56_WIDTH
594589# define UINT_LEAST56_WIDTH UINT56_WIDTH
@@ -635,9 +630,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
635630# undef __UINT_LEAST8_MAX
636631# define __UINT_LEAST8_MAX UINT48_MAX
637632
638- /* FIXME: This is using the placeholder dates Clang produces for these macros
639- in C2x mode; switch to the correct values once they've been published. */
640- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
633+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
641634#define UINT48_WIDTH 48
642635#define INT48_WIDTH UINT48_WIDTH
643636#define UINT_LEAST48_WIDTH UINT48_WIDTH
@@ -684,9 +677,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
684677# undef __UINT_LEAST8_MAX
685678# define __UINT_LEAST8_MAX UINT40_MAX
686679
687- /* FIXME: This is using the placeholder dates Clang produces for these macros
688- in C2x mode; switch to the correct values once they've been published. */
689- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
680+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
690681# define UINT40_WIDTH 40
691682# define INT40_WIDTH UINT40_WIDTH
692683# define UINT_LEAST40_WIDTH UINT40_WIDTH
@@ -727,9 +718,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
727718# undef __UINT_LEAST8_MAX
728719# define __UINT_LEAST8_MAX UINT32_MAX
729720
730- /* FIXME: This is using the placeholder dates Clang produces for these macros
731- in C2x mode; switch to the correct values once they've been published. */
732- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
721+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
733722# define UINT32_WIDTH 32
734723# define INT32_WIDTH UINT32_WIDTH
735724# undef __UINT_LEAST32_WIDTH
@@ -749,9 +738,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
749738# define INT_FAST32_MAX __INT_LEAST32_MAX
750739# define UINT_FAST32_MAX __UINT_LEAST32_MAX
751740
752- /* FIXME: This is using the placeholder dates Clang produces for these macros
753- in C2x mode; switch to the correct values once they've been published. */
754- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
741+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
755742# define UINT_LEAST32_WIDTH __UINT_LEAST32_WIDTH
756743# define INT_LEAST32_WIDTH UINT_LEAST32_WIDTH
757744# define UINT_FAST32_WIDTH __UINT_LEAST32_WIDTH
@@ -784,9 +771,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
784771# undef __UINT_LEAST8_MAX
785772# define __UINT_LEAST8_MAX UINT24_MAX
786773
787- /* FIXME: This is using the placeholder dates Clang produces for these macros
788- in C2x mode; switch to the correct values once they've been published. */
789- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
774+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
790775# define UINT24_WIDTH 24
791776# define INT24_WIDTH UINT24_WIDTH
792777# define UINT_LEAST24_WIDTH UINT24_WIDTH
@@ -819,9 +804,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
819804# undef __UINT_LEAST8_MAX
820805# define __UINT_LEAST8_MAX UINT16_MAX
821806
822- /* FIXME: This is using the placeholder dates Clang produces for these macros
823- in C2x mode; switch to the correct values once they've been published. */
824- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
807+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
825808# define UINT16_WIDTH 16
826809# define INT16_WIDTH UINT16_WIDTH
827810# undef __UINT_LEAST16_WIDTH
@@ -839,9 +822,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
839822# define INT_FAST16_MAX __INT_LEAST16_MAX
840823# define UINT_FAST16_MAX __UINT_LEAST16_MAX
841824
842- /* FIXME: This is using the placeholder dates Clang produces for these macros
843- in C2x mode; switch to the correct values once they've been published. */
844- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
825+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
845826# define UINT_LEAST16_WIDTH __UINT_LEAST16_WIDTH
846827# define INT_LEAST16_WIDTH UINT_LEAST16_WIDTH
847828# define UINT_FAST16_WIDTH __UINT_LEAST16_WIDTH
@@ -862,9 +843,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
862843# undef __UINT_LEAST8_MAX
863844# define __UINT_LEAST8_MAX UINT8_MAX
864845
865- /* FIXME: This is using the placeholder dates Clang produces for these macros
866- in C2x mode; switch to the correct values once they've been published. */
867- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
846+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
868847# define UINT8_WIDTH 8
869848# define INT8_WIDTH UINT8_WIDTH
870849# undef __UINT_LEAST8_WIDTH
@@ -880,9 +859,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
880859# define INT_FAST8_MAX __INT_LEAST8_MAX
881860# define UINT_FAST8_MAX __UINT_LEAST8_MAX
882861
883- /* FIXME: This is using the placeholder dates Clang produces for these macros
884- in C2x mode; switch to the correct values once they've been published. */
885- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
862+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
886863# define UINT_LEAST8_WIDTH __UINT_LEAST8_WIDTH
887864# define INT_LEAST8_WIDTH UINT_LEAST8_WIDTH
888865# define UINT_FAST8_WIDTH __UINT_LEAST8_WIDTH
@@ -908,9 +885,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
908885#define SIZE_MAX __SIZE_MAX__
909886
910887/* C2x 7.20.2.4 Width of integer types capable of holding object pointers. */
911- /* FIXME: This is using the placeholder dates Clang produces for these macros
912- in C2x mode; switch to the correct values once they've been published. */
913- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
888+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
914889/* NB: The C standard requires that these be the same value, but the compiler
915890 exposes separate internal width macros. */
916891#define INTPTR_WIDTH __INTPTR_WIDTH__
@@ -929,9 +904,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
929904#define UINTMAX_MAX __UINTMAX_MAX__
930905
931906/* C2x 7.20.2.5 Width of greatest-width integer types. */
932- /* FIXME: This is using the placeholder dates Clang produces for these macros
933- in C2x mode; switch to the correct values once they've been published. */
934- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
907+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
935908/* NB: The C standard requires that these be the same value, but the compiler
936909 exposes separate internal width macros. */
937910#define INTMAX_WIDTH __INTMAX_WIDTH__
@@ -965,9 +938,7 @@ typedef __UINTMAX_TYPE__ uintmax_t;
965938#define UINTMAX_C (v ) __int_c(v, __UINTMAX_C_SUFFIX__)
966939
967940/* C2x 7.20.3.x Width of other integer types. */
968- /* FIXME: This is using the placeholder dates Clang produces for these macros
969- in C2x mode; switch to the correct values once they've been published. */
970- #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202000L
941+ #if defined(__STDC_VERSION__ ) && __STDC_VERSION__ >= 202311L
971942#define PTRDIFF_WIDTH __PTRDIFF_WIDTH__
972943#define SIG_ATOMIC_WIDTH __SIG_ATOMIC_WIDTH__
973944#define SIZE_WIDTH __SIZE_WIDTH__
0 commit comments