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

Nikolas Klauser via libcxx-commits libcxx-commits at lists.llvm.org
Sun Jun 29 10:10:54 PDT 2025


philnik777 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?

Urgh, looks like clang-tidy doesn't run in the bootstrapping build. I'll update my local clang and fix any issues.

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


More information about the libcxx-commits mailing list