mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
[NFC] Don't use LLVM_ALIGNAS (#26411)
It's not useful anymore, and I'm about to remove it in upstream.
This commit is contained in:
@@ -66,8 +66,7 @@ public:
|
||||
private:
|
||||
template <typename T>
|
||||
union UninitializedStorage {
|
||||
LLVM_ALIGNAS(alignof(T))
|
||||
char Storage[sizeof(T)];
|
||||
alignas(T) char Storage[sizeof(T)];
|
||||
|
||||
template <typename... A>
|
||||
void emplace(A && ...value) {
|
||||
|
||||
Reference in New Issue
Block a user