[libcxx-commits] [clang] [libcxx] [Clang] Add __builtin_invoke and use it in libc++ (PR #116709)

via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 29 09:38:15 PDT 2025


EricWF wrote:

@philnik777 I'm encountering a number of test failures related to libc++'s clang-tidy module when running the libc++ test suite with the new compiler:

> # .---command stdout------------
# | /home/eric/llvm-project/build/libcxx/libcxx/test-suite-install/include/c++/v1/__type_traits/invoke.h:68:1: error: Internal aliases should always be marked _LIBCPP_NODEBUG [libcpp-nodebug-on-aliases,-warnings-as-errors]
# |    68 | using __invoke_result_t = decltype(__builtin_invoke(std::declval<_Args>()...));
# |       | ^
# | /home/eric/llvm-project/build/libcxx/libcxx/test-suite-install/include/c++/v1/__type_traits/invoke.h:79:1: error: Internal aliases should always be marked _LIBCPP_NODEBUG [libcpp-nodebug-on-aliases,-warnings-as-errors]
# |    79 | using __invoke_result = __invoke_result_impl<void, _Args...>;
# |       | ^


Could you please take a look at these?

https://github.com/llvm/llvm-project/pull/116709


More information about the libcxx-commits mailing list