libc++: fix compiling <locale> with -fmodulesIn /usr/include/c++/v1/__locale_dir/locale_base_api.h, xlocale.h isincluded without first including stdio.h and stdlib.h, which causesfunctions like s
libc++: fix compiling <locale> with -fmodulesIn /usr/include/c++/v1/__locale_dir/locale_base_api.h, xlocale.h isincluded without first including stdio.h and stdlib.h, which causesfunctions like strtoll_l() or sscanf_l() to not be declared.When compiling with -fmodules, locale_base_api.h is processed separatelydue to a declaration in /usr/include/c++/v1/module.modulemap, and thiswill cause errors due to the above undeclared symbols.Meanwhile, upstream has substantially reorganized this part of libc++'sheaders, so apply a minimalistic workaround: specifically when compilingwith -fmodules, add includes of stdio.h and stdlib.h.PR: 286342MFC after: 1 week
show more ...
Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-19-init-18630-gf2ccf80136a0, t
Merge llvm-project main llvmorg-19-init-18630-gf2ccf80136a0This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-19-init-18630-gf2ccf80136a0, thelast commit before the upstream release/19.x branch was created.PR: 280562MFC after: 1 month
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6aThis updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-18-init-15692-g007ed0dccd6a.
Merge llvm-project main llvmorg-18-init-15692-g007ed0dccd6aThis updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-18-init-15692-g007ed0dccd6a.PR: 276104MFC after: 1 month
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fbThis updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.
Merge llvm-project main llvmorg-18-init-15088-gd14ee76181fbThis updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-18-init-15088-gd14ee76181fb.PR: 276104MFC after: 1 month
Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvmorg-17.0.0-rc4-10-g0176e8729ea4.PR: 27375
Merge llvm-project release/17.x llvmorg-17.0.0-rc4-10-g0176e8729ea4This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvmorg-17.0.0-rc4-10-g0176e8729ea4.PR: 273753MFC after: 1 month
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, t
Merge llvm-project main llvmorg-17-init-19304-gd0b54bb50e51This updates llvm, clang, compiler-rt, libc++, libunwind, lld, lldb andopenmp to llvm-project main llvmorg-17-init-19304-gd0b54bb50e51, thelast commit before the upstream release/17.x branch was created.PR: 273753MFC after: 1 month