private:
// The root data is either a RootLeaf or a RootBranchData instance.
- LLVM_ALIGNAS(RootLeaf) LLVM_ALIGNAS(RootBranchData)
- AlignedCharArrayUnion<RootLeaf, RootBranchData> data;
+ alignas(RootLeaf) alignas(RootBranchData)
+ AlignedCharArrayUnion<RootLeaf, RootBranchData> data;
// Tree height.
// 0: Leaves in root.
namespace detail {
-template<typename ValueType,
- endianness Endian,
- std::size_t Alignment,
- std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
+template <typename ValueType, endianness Endian, std::size_t Alignment,
+ std::size_t ALIGN = PickAlignment<ValueType, Alignment>::value>
struct packed_endian_specific_integral {
using value_type = ValueType;
static constexpr endianness endian = Endian;
private:
struct {
- LLVM_ALIGNAS(ALIGN) char buffer[sizeof(value_type)];
+ alignas(ALIGN) char buffer[sizeof(value_type)];
} Value;
public: