summaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.cpp
diff options
context:
space:
mode:
authorXing Xue <xingxue@outlook.com>2024-05-06 06:39:31 -0400
committerGitHub <noreply@github.com>2024-05-06 06:39:31 -0400
commit47214903b1c6d0590780c7e69a2e3e612f43e4a2 (patch)
treecef65b3ebc9a208cfa3e2da69d416a8192c1bd8e /llvm/lib/Bitcode/Reader/BitcodeReader.cpp
parent6217abce86b55778cf39f7db7f591a16b9fd4d28 (diff)
[libc++abi][AIX] Use different function pointer types for destructors with 1 or 2 args (#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 https://github.com/llvm/llvm-project/commit/999d4f840777bf8de26d45947192aa0728edc0fb 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.
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions