Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[libc++abi][AIX] Use different function pointer types for destructors…
… with 1 or 2 args (llvm#89624) The destructors generated by the legacy IBM `xlclang++` compiler can take 1 or 2 arguments and the differences were handled by type `cast` where it is needed. Clang now treats the `cast` here as an error after llvm@999d4f8 landed with `-Xextra -Werror`. The issue had been worked around by using `#pragma GCC diagnostic push/pop`. This patch defines 2 separate destructor types for 1 argument and 2 arguments respectively so `cast` is not needed.
- Loading branch information