0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-10 20:11:07 +01:00

ircd::utf: Elide instantiation at 512-bit width on aarch64 due to clang-10 issue.

This commit is contained in:
Jason Volk 2020-10-01 20:34:14 -07:00
parent f56dded742
commit 2bcea3de2f

View file

@ -260,7 +260,11 @@ namespace ircd::utf16
{ {
template u8x16 utf16::find_surrogate<u8x16>(const u8x16) noexcept; template u8x16 utf16::find_surrogate<u8x16>(const u8x16) noexcept;
template u8x32 utf16::find_surrogate<u8x32>(const u8x32) noexcept; template u8x32 utf16::find_surrogate<u8x32>(const u8x32) noexcept;
// Clang-10 is having trouble with this instantiation on aarch64
#if !defined(__clang__) || !defined(__aarch64__)
template u8x64 utf16::find_surrogate<u8x64>(const u8x64) noexcept; template u8x64 utf16::find_surrogate<u8x64>(const u8x64) noexcept;
#endif
} }
template<class u8xN> template<class u8xN>