Skip to content

Commit eabf81f

Browse files
cseriildiitislu
andcommitted
[include-cleaner] Update generated include mappings
Update generated `*SymbolMap.inc` files using `gen_std.py` and the latest cppreference archive (https://github.com/PeterFeicht/cppreference-doc/releases/tag/v20250209). Move removed but still-needed entries to `*SpecialSymbolMap.inc` files. Co-authored-by: itislu <[email protected]>
1 parent 7468718 commit eabf81f

File tree

4 files changed

+423
-416
lines changed

4 files changed

+423
-416
lines changed

clang/lib/Tooling/Inclusions/Stdlib/CSpecialSymbolMap.inc

Lines changed: 279 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,3 +26,282 @@ SYMBOL(UINT16_C, None, <stdint.h>)
2626
SYMBOL(UINT32_C, None, <stdint.h>)
2727
SYMBOL(UINT64_C, None, <stdint.h>)
2828
SYMBOL(UINTMAX_C, None, <stdint.h>)
29+
30+
SYMBOL(ATOMIC_BOOL_LOCK_FREE, None, <stdatomic.h>)
31+
SYMBOL(ATOMIC_CHAR16_T_LOCK_FREE, None, <stdatomic.h>)
32+
SYMBOL(ATOMIC_CHAR32_T_LOCK_FREE, None, <stdatomic.h>)
33+
SYMBOL(ATOMIC_CHAR_LOCK_FREE, None, <stdatomic.h>)
34+
SYMBOL(ATOMIC_FLAG_INIT, None, <stdatomic.h>)
35+
SYMBOL(ATOMIC_INT_LOCK_FREE, None, <stdatomic.h>)
36+
SYMBOL(ATOMIC_LLONG_LOCK_FREE, None, <stdatomic.h>)
37+
SYMBOL(ATOMIC_LONG_LOGK_FREE, None, <stdatomic.h>)
38+
SYMBOL(ATOMIC_POINTER_LOCK_FREE, None, <stdatomic.h>)
39+
SYMBOL(ATOMIC_SHORT_LOCK_FREE, None, <stdatomic.h>)
40+
SYMBOL(ATOMIC_VAR_INIT, None, <stdatomic.h>)
41+
SYMBOL(ATOMIC_WCHAR_T_LOCK_FREE, None, <stdatomic.h>)
42+
SYMBOL(BUFSIZ, None, <stdio.h>)
43+
SYMBOL(CHAR_BIT, None, <limits.h>)
44+
SYMBOL(CHAR_MAX, None, <limits.h>)
45+
SYMBOL(CHAR_MIN, None, <limits.h>)
46+
SYMBOL(CLOCKS_PER_SEC, None, <time.h>)
47+
SYMBOL(CMPLX, None, <complex.h>)
48+
SYMBOL(CMPLXF, None, <complex.h>)
49+
SYMBOL(CMPLXL, None, <complex.h>)
50+
SYMBOL(DBL_DECIMAL_DIG, None, <float.h>)
51+
SYMBOL(DBL_DIG, None, <float.h>)
52+
SYMBOL(DBL_EPSILON, None, <float.h>)
53+
SYMBOL(DBL_HAS_SUBNORM, None, <float.h>)
54+
SYMBOL(DBL_MANT_DIG, None, <float.h>)
55+
SYMBOL(DBL_MAX, None, <float.h>)
56+
SYMBOL(DBL_MAX_10_EXP, None, <float.h>)
57+
SYMBOL(DBL_MAX_EXP, None, <float.h>)
58+
SYMBOL(DBL_MIN, None, <float.h>)
59+
SYMBOL(DBL_MIN_10_EXP, None, <float.h>)
60+
SYMBOL(DBL_MIN_EXP, None, <float.h>)
61+
SYMBOL(DBL_TRUE_MIN, None, <float.h>)
62+
SYMBOL(DECIMAL_DIG, None, <float.h>)
63+
SYMBOL(EDOM, None, <errno.h>)
64+
SYMBOL(EILSEQ, None, <errno.h>)
65+
SYMBOL(EOF, None, <stdio.h>)
66+
SYMBOL(ERANGE, None, <errno.h>)
67+
SYMBOL(EXIT_FAILURE, None, <stdlib.h>)
68+
SYMBOL(EXIT_SUCCESS, None, <stdlib.h>)
69+
SYMBOL(FE_ALL_EXCEPT, None, <fenv.h>)
70+
SYMBOL(FE_DFL_ENV, None, <fenv.h>)
71+
SYMBOL(FE_DIVBYZERO, None, <fenv.h>)
72+
SYMBOL(FE_DOWNWARD, None, <fenv.h>)
73+
SYMBOL(FE_INEXACT, None, <fenv.h>)
74+
SYMBOL(FE_INVALID, None, <fenv.h>)
75+
SYMBOL(FE_OVERFLOW, None, <fenv.h>)
76+
SYMBOL(FE_TONEAREST, None, <fenv.h>)
77+
SYMBOL(FE_TOWARDZERO, None, <fenv.h>)
78+
SYMBOL(FE_UNDERFLOW, None, <fenv.h>)
79+
SYMBOL(FE_UPWARD, None, <fenv.h>)
80+
SYMBOL(FILENAME_MAX, None, <stdio.h>)
81+
SYMBOL(FLT_DECIMAL_DIG, None, <float.h>)
82+
SYMBOL(FLT_DIG, None, <float.h>)
83+
SYMBOL(FLT_EPSILON, None, <float.h>)
84+
SYMBOL(FLT_EVAL_METHOD, None, <float.h>)
85+
SYMBOL(FLT_HAS_SUBNORM, None, <float.h>)
86+
SYMBOL(FLT_MANT_DIG, None, <float.h>)
87+
SYMBOL(FLT_MAX, None, <float.h>)
88+
SYMBOL(FLT_MAX_10_EXP, None, <float.h>)
89+
SYMBOL(FLT_MAX_EXP, None, <float.h>)
90+
SYMBOL(FLT_MIN, None, <float.h>)
91+
SYMBOL(FLT_MIN_10_EXP, None, <float.h>)
92+
SYMBOL(FLT_MIN_EXP, None, <float.h>)
93+
SYMBOL(FLT_RADIX, None, <float.h>)
94+
SYMBOL(FLT_ROUNDS, None, <float.h>)
95+
SYMBOL(FLT_TRUE_MIN, None, <float.h>)
96+
SYMBOL(FOPEN_MAX, None, <stdio.h>)
97+
SYMBOL(FP_INFINITE, None, <math.h>)
98+
SYMBOL(FP_NAN, None, <math.h>)
99+
SYMBOL(FP_NORNAL, None, <math.h>)
100+
SYMBOL(FP_SUBNORMAL, None, <math.h>)
101+
SYMBOL(FP_ZERO, None, <math.h>)
102+
SYMBOL(HUGE_VAL, None, <math.h>)
103+
SYMBOL(HUGE_VALF, None, <math.h>)
104+
SYMBOL(HUGE_VALL, None, <math.h>)
105+
SYMBOL(I, None, <complex.h>)
106+
SYMBOL(INFINITY, None, <math.h>)
107+
SYMBOL(INT16_MAX, None, <stdint.h>)
108+
SYMBOL(INT16_MIN, None, <stdint.h>)
109+
SYMBOL(INT32_MAX, None, <stdint.h>)
110+
SYMBOL(INT32_MIN, None, <stdint.h>)
111+
SYMBOL(INT64_MAX, None, <stdint.h>)
112+
SYMBOL(INT64_MIN, None, <stdint.h>)
113+
SYMBOL(INT8_MAX, None, <stdint.h>)
114+
SYMBOL(INT8_MIN, None, <stdint.h>)
115+
SYMBOL(INTMAX_MAX, None, <stdint.h>)
116+
SYMBOL(INTMAX_MIN, None, <stdint.h>)
117+
SYMBOL(INTPTR_MAX, None, <stdint.h>)
118+
SYMBOL(INTPTR_MIN, None, <stdint.h>)
119+
SYMBOL(INT_FAST16_MAX, None, <stdint.h>)
120+
SYMBOL(INT_FAST16_MIN, None, <stdint.h>)
121+
SYMBOL(INT_FAST32_MAX, None, <stdint.h>)
122+
SYMBOL(INT_FAST32_MIN, None, <stdint.h>)
123+
SYMBOL(INT_FAST64_MAX, None, <stdint.h>)
124+
SYMBOL(INT_FAST64_MIN, None, <stdint.h>)
125+
SYMBOL(INT_FAST8_MAX, None, <stdint.h>)
126+
SYMBOL(INT_FAST8_MIN, None, <stdint.h>)
127+
SYMBOL(INT_LEAST16_MAX, None, <stdint.h>)
128+
SYMBOL(INT_LEAST16_MIN, None, <stdint.h>)
129+
SYMBOL(INT_LEAST32_MAX, None, <stdint.h>)
130+
SYMBOL(INT_LEAST32_MIN, None, <stdint.h>)
131+
SYMBOL(INT_LEAST64_MAX, None, <stdint.h>)
132+
SYMBOL(INT_LEAST64_MIN, None, <stdint.h>)
133+
SYMBOL(INT_LEAST8_MAX, None, <stdint.h>)
134+
SYMBOL(INT_LEAST8_MIN, None, <stdint.h>)
135+
SYMBOL(INT_MAX, None, <limits.h>)
136+
SYMBOL(INT_MIN, None, <limits.h>)
137+
SYMBOL(LC_ALL, None, <locale.h>)
138+
SYMBOL(LC_COLLATE, None, <locale.h>)
139+
SYMBOL(LC_CTYPE, None, <locale.h>)
140+
SYMBOL(LC_MONETARY, None, <locale.h>)
141+
SYMBOL(LC_NUMERIC, None, <locale.h>)
142+
SYMBOL(LC_TIME, None, <locale.h>)
143+
SYMBOL(LDBL_DECIMAL_DIG, None, <float.h>)
144+
SYMBOL(LDBL_DIG, None, <float.h>)
145+
SYMBOL(LDBL_EPSILON, None, <float.h>)
146+
SYMBOL(LDBL_HAS_SUBNORM, None, <float.h>)
147+
SYMBOL(LDBL_MANT_DIG, None, <float.h>)
148+
SYMBOL(LDBL_MAX, None, <float.h>)
149+
SYMBOL(LDBL_MAX_10_EXP, None, <float.h>)
150+
SYMBOL(LDBL_MAX_EXP, None, <float.h>)
151+
SYMBOL(LDBL_MIN, None, <float.h>)
152+
SYMBOL(LDBL_MIN_10_EXP, None, <float.h>)
153+
SYMBOL(LDBL_MIN_EXP, None, <float.h>)
154+
SYMBOL(LDBL_TRUE_MIN, None, <float.h>)
155+
SYMBOL(LLONG_MAX, None, <limits.h>)
156+
SYMBOL(LLONG_MIN, None, <limits.h>)
157+
SYMBOL(LONG_MAX, None, <limits.h>)
158+
SYMBOL(LONG_MIN, None, <limits.h>)
159+
SYMBOL(L_tmpnam, None, <stdio.h>)
160+
SYMBOL(L_tmpnam_s, None, <stdio.h>)
161+
SYMBOL(MATH_ERREXCEPT, None, <math.h>)
162+
SYMBOL(MATH_ERRNO, None, <math.h>)
163+
SYMBOL(MB_CUR_MAX, None, <stdlib.h>)
164+
SYMBOL(MB_LEN_MAX, None, <limits.h>)
165+
SYMBOL(NAN, None, <math.h>)
166+
SYMBOL(ONCE_FLAG_INIT, None, <threads.h>)
167+
SYMBOL(PTRDIFF_MAX, None, <stdint.h>)
168+
SYMBOL(PTRDIFF_MIN, None, <stdint.h>)
169+
SYMBOL(RAND_MAX, None, <stdlib.h>)
170+
SYMBOL(RSIZE_MAX, None, <stdint.h>)
171+
SYMBOL(SCHAR_MAX, None, <limits.h>)
172+
SYMBOL(SCHAR_MIN, None, <limits.h>)
173+
SYMBOL(SEEK_CUR, None, <stdio.h>)
174+
SYMBOL(SEEK_END, None, <stdio.h>)
175+
SYMBOL(SEEK_SET, None, <stdio.h>)
176+
SYMBOL(SHRT_MAX, None, <limits.h>)
177+
SYMBOL(SHRT_MIN, None, <limits.h>)
178+
SYMBOL(SIGABRT, None, <signal.h>)
179+
SYMBOL(SIGFPE, None, <signal.h>)
180+
SYMBOL(SIGILL, None, <signal.h>)
181+
SYMBOL(SIGINT, None, <signal.h>)
182+
SYMBOL(SIGSEGV, None, <signal.h>)
183+
SYMBOL(SIGTERM, None, <signal.h>)
184+
SYMBOL(SIG_ATOMIC_MAX, None, <stdint.h>)
185+
SYMBOL(SIG_ATOMIC_MIN, None, <stdint.h>)
186+
SYMBOL(SIG_DFL, None, <signal.h>)
187+
SYMBOL(SIG_ERR, None, <signal.h>)
188+
SYMBOL(SIG_IGN, None, <signal.h>)
189+
SYMBOL(SIZE_MAX, None, <stdint.h>)
190+
SYMBOL(TIME_UTC, None, <time.h>)
191+
SYMBOL(TMP_MAX, None, <stdio.h>)
192+
SYMBOL(TMP_MAX_S, None, <stdio.h>)
193+
SYMBOL(TSS_DTOR_ITERATIONS, None, <threads.h>)
194+
SYMBOL(UCHAR_MAX, None, <limits.h>)
195+
SYMBOL(UINT16_MAX, None, <stdint.h>)
196+
SYMBOL(UINT32_MAX, None, <stdint.h>)
197+
SYMBOL(UINT64_MAX, None, <stdint.h>)
198+
SYMBOL(UINT8_MAX, None, <stdint.h>)
199+
SYMBOL(UINTMAX_MAX, None, <stdint.h>)
200+
SYMBOL(UINTPTR_MAX, None, <stdint.h>)
201+
SYMBOL(UINT_FAST16_MAX, None, <stdint.h>)
202+
SYMBOL(UINT_FAST32_MAX, None, <stdint.h>)
203+
SYMBOL(UINT_FAST64_MAX, None, <stdint.h>)
204+
SYMBOL(UINT_FAST8_MAX, None, <stdint.h>)
205+
SYMBOL(UINT_LEAST16_MAX, None, <stdint.h>)
206+
SYMBOL(UINT_LEAST32_MAX, None, <stdint.h>)
207+
SYMBOL(UINT_LEAST64_MAX, None, <stdint.h>)
208+
SYMBOL(UINT_LEAST8_MAX, None, <stdint.h>)
209+
SYMBOL(UINT_MAX, None, <limits.h>)
210+
SYMBOL(ULLONG_MAX, None, <limits.h>)
211+
SYMBOL(ULONG_MAX, None, <limits.h>)
212+
SYMBOL(USHRT_MAX, None, <limits.h>)
213+
SYMBOL(WCHAR_MAX, None, <wchar.h>)
214+
SYMBOL(WCHAR_MIN, None, <wchar.h>)
215+
SYMBOL(WEOF, None, <wchar.h>)
216+
SYMBOL(WINT_MAX, None, <stdint.h>)
217+
SYMBOL(WINT_MIN, None, <stdint.h>)
218+
SYMBOL(_Complex_I, None, <complex.h>)
219+
SYMBOL(_IOFBF, None, <stdio.h>)
220+
SYMBOL(_IOLBF, None, <stdio.h>)
221+
SYMBOL(_IONBF, None, <stdio.h>)
222+
SYMBOL(_Imaginary_I, None, <complex.h>)
223+
SYMBOL(__alignas_is_defined, None, <stdalign.h>)
224+
SYMBOL(__alignof_is_defined, None, <stdalign.h>)
225+
SYMBOL(alignas, None, <stdalign.h>)
226+
SYMBOL(alignof, None, <stdalign.h>)
227+
SYMBOL(and, None, <iso646.h>)
228+
SYMBOL(and_eq, None, <iso646.h>)
229+
SYMBOL(assert, None, <assert.h>)
230+
SYMBOL(atomic_bool, None, <stdatomic.h>)
231+
SYMBOL(atomic_char, None, <stdatomic.h>)
232+
SYMBOL(atomic_char16_t, None, <stdatomic.h>)
233+
SYMBOL(atomic_char32_t, None, <stdatomic.h>)
234+
SYMBOL(atomic_int, None, <stdatomic.h>)
235+
SYMBOL(atomic_int_fast16_t, None, <stdatomic.h>)
236+
SYMBOL(atomic_int_fast32_t, None, <stdatomic.h>)
237+
SYMBOL(atomic_int_fast64_t, None, <stdatomic.h>)
238+
SYMBOL(atomic_int_fast8_t, None, <stdatomic.h>)
239+
SYMBOL(atomic_int_least16_t, None, <stdatomic.h>)
240+
SYMBOL(atomic_int_least32_t, None, <stdatomic.h>)
241+
SYMBOL(atomic_int_least64_t, None, <stdatomic.h>)
242+
SYMBOL(atomic_int_least8_t, None, <stdatomic.h>)
243+
SYMBOL(atomic_intmax_t, None, <stdatomic.h>)
244+
SYMBOL(atomic_intptr_t, None, <stdatomic.h>)
245+
SYMBOL(atomic_llong, None, <stdatomic.h>)
246+
SYMBOL(atomic_long, None, <stdatomic.h>)
247+
SYMBOL(atomic_ptrdiff_t, None, <stdatomic.h>)
248+
SYMBOL(atomic_schar, None, <stdatomic.h>)
249+
SYMBOL(atomic_short, None, <stdatomic.h>)
250+
SYMBOL(atomic_size_t, None, <stdatomic.h>)
251+
SYMBOL(atomic_uchar, None, <stdatomic.h>)
252+
SYMBOL(atomic_uint, None, <stdatomic.h>)
253+
SYMBOL(atomic_uint_fast16_t, None, <stdatomic.h>)
254+
SYMBOL(atomic_uint_fast32_t, None, <stdatomic.h>)
255+
SYMBOL(atomic_uint_fast64_t, None, <stdatomic.h>)
256+
SYMBOL(atomic_uint_fast8_t, None, <stdatomic.h>)
257+
SYMBOL(atomic_uint_least16_t, None, <stdatomic.h>)
258+
SYMBOL(atomic_uint_least32_t, None, <stdatomic.h>)
259+
SYMBOL(atomic_uint_least64_t, None, <stdatomic.h>)
260+
SYMBOL(atomic_uint_least8_t, None, <stdatomic.h>)
261+
SYMBOL(atomic_uintmax_t, None, <stdatomic.h>)
262+
SYMBOL(atomic_uintptr_t, None, <stdatomic.h>)
263+
SYMBOL(atomic_ullong, None, <stdatomic.h>)
264+
SYMBOL(atomic_ulong, None, <stdatomic.h>)
265+
SYMBOL(atomic_ushort, None, <stdatomic.h>)
266+
SYMBOL(atomic_wchar_t, None, <stdatomic.h>)
267+
SYMBOL(bitand, None, <iso646.h>)
268+
SYMBOL(bitor, None, <iso646.h>)
269+
SYMBOL(compl, None, <iso646.h>)
270+
SYMBOL(complex, None, <complex.h>)
271+
SYMBOL(errno, None, <errno.h>)
272+
SYMBOL(fpclassify, None, <math.h>)
273+
SYMBOL(imaginary, None, <complex.h>)
274+
SYMBOL(isfinite, None, <math.h>)
275+
SYMBOL(isgreater, None, <math.h>)
276+
SYMBOL(isgreaterequal, None, <math.h>)
277+
SYMBOL(isinf, None, <math.h>)
278+
SYMBOL(isless, None, <math.h>)
279+
SYMBOL(islessequal, None, <math.h>)
280+
SYMBOL(islessgreater, None, <math.h>)
281+
SYMBOL(isnan, None, <math.h>)
282+
SYMBOL(isnormal, None, <math.h>)
283+
SYMBOL(isunordered, None, <math.h>)
284+
SYMBOL(kill_dependency, None, <stdatomic.h>)
285+
SYMBOL(math_errhandling, None, <math.h>)
286+
SYMBOL(noreturn, None, <stdnoreturn.h>)
287+
SYMBOL(not, None, <iso646.h>)
288+
SYMBOL(not_eq, None, <iso646.h>)
289+
SYMBOL(offsetof, None, <stddef.h>)
290+
SYMBOL(or, None, <iso646.h>)
291+
SYMBOL(or_eq, None, <iso646.h>)
292+
SYMBOL(rsize_t, None, <stddef.h>)
293+
SYMBOL(setjmp, None, <setjmp.h>)
294+
SYMBOL(signbit, None, <math.h>)
295+
SYMBOL(static_assert, None, <assert.h>)
296+
SYMBOL(stderr, None, <stdio.h>)
297+
SYMBOL(stdin, None, <stdio.h>)
298+
SYMBOL(stdout, None, <stdio.h>)
299+
SYMBOL(thread_local, None, <threads.h>)
300+
SYMBOL(va_arg, None, <stdarg.h>)
301+
SYMBOL(va_copy, None, <stdarg.h>)
302+
SYMBOL(va_end, None, <stdarg.h>)
303+
SYMBOL(va_start, None, <stdarg.h>)
304+
SYMBOL(wchar_t, None, <wchar.h>)
305+
SYMBOL(wint_t, None, <wctype.h>)
306+
SYMBOL(xor, None, <iso646.h>)
307+
SYMBOL(xor_eq, None, <iso646.h>)

0 commit comments

Comments
 (0)