llvm.org GIT mirror llvm / 2bdf7b1
[NFC] Remove uses of LLVM_ALIGNAS It's not useful anymore: we mandate C++11, and already use alignas in a bunch of places. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@367330 91177308-0d34-0410-b5e6-96231b3b80d8 JF Bastien 10 months ago
3 changed file(s) with 6 addition(s) and 8 deletion(s). Raw diff Collapse all Expand all
962962
963963 private:
964964 // The root data is either a RootLeaf or a RootBranchData instance.
965 LLVM_ALIGNAS(RootLeaf) LLVM_ALIGNAS(RootBranchData)
966 AlignedCharArrayUnion data;
965 alignas(RootLeaf) alignas(RootBranchData)
966 AlignedCharArrayUnion data;
967967
968968 // Tree height.
969969 // 0: Leaves in root.
118118
119119 using GlobalValueSummaryList = std::vector>;
120120
121 struct LLVM_ALIGNAS(8) GlobalValueSummaryInfo {
121 struct alignas(8) GlobalValueSummaryInfo {
122122 union NameOrGV {
123123 NameOrGV(bool HaveGVs) {
124124 if (HaveGVs)
202202
203203 namespace detail {
204204
205 template
206 endianness Endian,
207 std::size_t Alignment,
208 std::size_t ALIGN = PickAlignment::value>
205 template
206 std::size_t ALIGN = PickAlignment::value>
209207 struct packed_endian_specific_integral {
210208 using value_type = ValueType;
211209 static constexpr endianness endian = Endian;
247245
248246 private:
249247 struct {
250 LLVM_ALIGNAS(ALIGN) char buffer[sizeof(value_type)];
248 alignas(ALIGN) char buffer[sizeof(value_type)];
251249 } Value;
252250
253251 public: