[all-commits] [llvm/llvm-project] 4f80c0: [runtimes][NFC] Consistently declare main() functi...
Louis Dionne via All-commits
all-commits at lists.llvm.org
Thu Oct 9 06:00:42 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4f80c064eb2933c00c0ba9b7826aa3631cf3b5c2
https://github.com/llvm/llvm-project/commit/4f80c064eb2933c00c0ba9b7826aa3631cf3b5c2
Author: Louis Dionne <ldionne.2 at gmail.com>
Date: 2025-10-09 (Thu, 09 Oct 2025)
Changed paths:
M libcxx/test/std/localization/codecvt_unicode.pass.cpp
M libcxx/test/std/ranges/range.access/include.iterator.pass.cpp
M libcxx/utils/libcxx/test/dsl.py
M libcxx/utils/libcxx/test/features.py
M libcxxabi/test/forced_unwind4.pass.cpp
M libcxxabi/test/native/AArch64/ra_sign_state.pass.cpp
M libunwind/test/aarch64_vg_unwind.pass.cpp
M libunwind/test/aix_signal_unwind.pass.sh.S
M libunwind/test/bad_unwind_info.pass.cpp
M libunwind/test/eh_frame_fde_pc_range.pass.cpp
M libunwind/test/floatregister.pass.cpp
M libunwind/test/forceunwind.pass.cpp
M libunwind/test/unw_resume.pass.cpp
M libunwind/test/unwind_scalable_vectors.pass.cpp
Log Message:
-----------
[runtimes][NFC] Consistently declare main() functions in tests (#162548)
In the libc++ test suite, we consistently declare main() functions with
full parameters and explicitly return from the function. This helps code
that compiles the tests with -ffreestanding, where main() is not a
special function (with an implicit return and special mangling).
This patch fixes a few stray declarations, including in libunwind and
libc++abi.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list